How to change the default editor in Debian

Shell Script (Bash) posted over 3 years ago by marko

This command changes the default editor system wide. It should work in all Debian derivatives.

   1  sudo update-alternatives --config editor

Tagged default editor, debian, ubuntu, standard editor, oletuseditori