[lxc-users] lxc config edit $container - how to change the editor (defaults to vim.tiny)?

Stéphane Graber stgraber at stgraber.org
Sun Oct 13 16:04:33 UTC 2019

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


On Sun, Oct 13, 2019 at 11:13 AM Tomasz Chmielewski <mangoo at 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 at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20191013/020891b3/attachment.html>

More information about the lxc-users mailing list