Oh and I forgot to mention, you can also use the longer approach of doing: lxc config show $container > config.yaml <editor of choice> config.yaml lxc config edit $container < config.yaml
On Sun, Oct 13, 2019 at 12:04 PM Stéphane Graber <stgra...@stgraber.org> wrote: > Because snaps must be self-contained, we actually have to ship the text > editors inside the snap... > Shipping the full build of vim isn't practical as it's linking against > python3, pulling all of python along with it. > > So right now the snap includes both vim.tiny and nano, you can choose > which you want through the EDITOR env variable. > We've also very recently fixed support for .vimrc so if you want to try to > configure vim.tiny to be more usable, you can write a vimrc for it in > ~/snap/lxd/current/.vimrc > > Stéphane > > On Sun, Oct 13, 2019 at 11:13 AM Tomasz Chmielewski <man...@wpkg.org> > wrote: > >> In the last week or two, my lxd servers installed from snap start >> "vim.tiny" when I use "lxc config edit $container". >> >> It used to use vim before (I think - vim.tiny has arrow keys messed up, >> and they used to work as expected before). >> >> How to change the editor to something else, i.e. proper/full vim? >> >> >> Tomasz Chmielewski >> _______________________________________________ >> lxc-users mailing list >> lxc-users@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-users >> > > > -- > Stéphane > -- Stéphane
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users