<div dir="ltr"><div>Oh and I forgot to mention, you can also use the longer approach of doing:</div><div><br></div><div> lxc config show $container > config.yaml</div><div> <editor of choice> config.yaml</div><div> lxc config edit $container < config.yaml<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 13, 2019 at 12:04 PM Stéphane Graber <<a href="mailto:stgraber@stgraber.org">stgraber@stgraber.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Because snaps must be self-contained, we actually have to ship the text editors inside the snap...</div><div>Shipping the full build of vim isn't practical as it's linking against python3, pulling all of python along with it.</div><div><br></div><div>So right now the snap includes both vim.tiny and nano, you can choose which you want through the EDITOR env variable.</div><div>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</div><div><br></div><div>Stéphane<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 13, 2019 at 11:13 AM Tomasz Chmielewski <<a href="mailto:mangoo@wpkg.org" target="_blank">mangoo@wpkg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In the last week or two, my lxd servers installed from snap start <br>
"vim.tiny" when I use "lxc config edit $container".<br>
<br>
It used to use vim before (I think - vim.tiny has arrow keys messed up, <br>
and they used to work as expected before).<br>
<br>
How to change the editor to something else, i.e. proper/full vim?<br>
<br>
<br>
Tomasz Chmielewski<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Stéphane</div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Stéphane</div>