• virsh edit

    Does anyone remember how to change virh editor’s default editor? I know currently it is vi and I USED to remember what command changed it (due to my severe inexperience in vi) but I don’t remember now. I know you can change it to nano and gedit and several others. +1 to anyone who can help me out 😄

  • EDITOR=nano virsh edit <your-vm-name> Found it nvm!

  • Hi,

    I do not know what virh is, but normally you set your default editor with an environmental variable this way:

    export EDITOR=nano

    You can set this in .bashrc so it will be loaded when you log in.

    Hope this helps.


Posts 3Views 1507
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.