[lxc-users] Snap 2.20 - Default Text Editor
Lai Wei-Hwa
whlai at robco.com
Wed Nov 22 14:57:11 UTC 2017
Ron,
You're telling me the normal way to set your default editor. I know how to do this. The problem is that my default editor is nano, which I want, but when I:
$ lxc profile edit default
It still opens in VI. This is an LXC issue.
Thanks!
Lai
----- Original Message -----
From: "Ron Kelley" <rkelleyrtp at gmail.com>
To: "lxc-users" <lxc-users at lists.linuxcontainers.org>
Sent: Tuesday, November 21, 2017 10:07:32 PM
Subject: Re: [lxc-users] Snap 2.20 - Default Text Editor
sudo update-alternatives --config editor
http://vim.wikia.com/wiki/Set_Vim_as_your_default_editor_for_Unix
> On Nov 21, 2017, at 7:49 PM, Lai Wei-Hwa <whlai at robco.com> wrote:
>
> Thanks, but that's the problem, it's still opening in VI
>
> Thanks!
> Lai
>
> ----- Original Message -----
> From: "Björn Fischer" <bf at CeBiTec.Uni-Bielefeld.DE>
> To: "lxc-users" <lxc-users at lists.linuxcontainers.org>
> Sent: Tuesday, November 21, 2017 7:46:58 PM
> Subject: Re: [lxc-users] Snap 2.20 - Default Text Editor
>
> Hi,
>
>> $ lxc profile edit default
>> Opens in VI even though my editor is nano (save the flaming)
>>
>> How can we edit the default editor?
>
> $ EDITOR=nano
> $ export EDITOR
>
> Cheers,
>
> Björn
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________
lxc-users mailing list
lxc-users at lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list