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:
https://www.redhat.com/archives/libvirt-users/2014-September/msg00039.html
Link 2:
https://askubuntu.com/questions/432524/how-do-i-find-and-set-my-editor-environment-variable

Thanks,
Nitesh.



On Wed, Dec 28, 2016 at 2:30 PM, dw <[email protected]> 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
> [email protected]
> https://www.redhat.com/mailman/listinfo/libvirt-users
>
_______________________________________________
libvirt-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to