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!
I do not know what virh is, but normally you set your default editor with an environmental variable this way:
You can set this in .bashrc so it will be loaded when you log in.
Hope this helps.