[libvirt-users] how to modified virsh's editor forever?

Nitesh Konkar niteshkonkar.libvirt at gmail.com
Wed Dec 28 10:17:04 UTC 2016

Hello dw,

Can you plz try this method and check if it works:

Set the preferred editor  in /etc/environment file (to define it globally)
and then restart the session.

You may follow these links for more info on the topic.
Link 1:
Link 2:


On Wed, Dec 28, 2016 at 2:30 PM, dw <dwlinuxkernel at 163.com> wrote:

> Hi:
>     when I modify VM's xml file,the editor is VI,how to set to other
> editor forever?
>     Now I can change the editor to VIM from VI with setting environment
> EDITOR=$my-favorite-editor,
>     but after rebooting,it is VI again.
> thanks
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20161228/d2db5eb9/attachment.htm>

More information about the libvirt-users mailing list