nanosudo? (default update-alternatives --config editor choice)

Phil Dobbin bukowskiscat at
Sun Dec 23 23:57:27 UTC 2012

On 12/23/2012 09:55 PM, Paul Sladen wrote:

> On Sun, 23 Dec 2012, Phil Dobbin wrote:
>> I've just spun up a 12.04 remote virtual machine & when I ran the visudo
>> command, it plonked me into nano.
> Which editor would you prefer Ubuntu to default to?  Can you list the
> advantages and distadvantages (pros/cons) of changing the default
> editor that Ubuntu sets for users?

Well, the clue is in the name: visudo. vi (or nowadays seeing vi is
symlinked to vim), vim has always been been the default hence the name.



currently (ab)using
CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical,
Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise & Quantal

More information about the ubuntu-users mailing list