Choosing default editor

For some reason my editor ofchoice (vim) reverted back to the default editor of nano on my server. The command for setting the default editor is:

sudo update-alternatives --config editor

Hopefully the setting will stick this time.


This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *