Tip: change the default editor in Ubuntu

Translation of the original in Catalan. Read it in: CatalàCastellano

A very useful silly little thing if you do not like nano, which is the default editor that Ubuntu comes with:

update-alternatives --config editor

With this we can choose which will be the default editor, simple and very useful for vim lovers like me.