Change The Default Editor From Nano On Ubuntu Linux
It’s really easy to set the default editor using the update-alternatives command. Open up a terminal window and type in the following command: Here’s an example of what you’ll see: You can select the editor you want by just typing in the number. For example, if I want to change the default editor to vim, I would just hit the number 1. There are 5 alternatives which provide `editor’. Selection Alternative ———————————————– 1 /usr/bin/vim 2 /bin/ed + 3 /bin/nano 4 /usr/bin/vim....