Change default text editor

The default editor (used for editing cron, etc.) can be changed by using the alternative utility from Ubuntu.

update-alternatives --config editor