Ubuntu: editor por defecto

Un sencillo y útil tip para usuarios de Ubuntu. Si quieres cambiar el editor por defecto porque no te gusta, tan sencillo como lo siguiente:
r0sk@devel:~$ sudo update-alternatives --config editor
There are 4 alternatives which provide `editor'.

  Selection    Alternative
-----------------------------------------------
      1        /bin/ed
      2        /bin/nano
*+    3        /usr/bin/mcedit-debian
      4        /usr/bin/vim

Press enter to keep the default[*], or type selection number: 2
Using `/bin/nano' to provide `editor'.
r0sk@devel:~$
Me estaba quemando usar mcedit para todo :).

About the author

Óscar
has doubledaddy super powers, father of Hugo and Nico, husband of Marta, *nix user, Djangonaut and open source passionate.