Debian configure default editor

On relatively new debian systems nano is the `default` editor. I cannot stand nano.

To change it :
# update-alternatives --config editor
There are 7 choices for the alternative editor (providing /usr/bin/editor).

  Selection    Path                Priority   Status
* 0            /bin/nano            40        auto mode
  1            /bin/nano            40        manual mode
  2            /bin/nano-tiny       0         manual mode
  3            /usr/bin/mcedit      25        manual mode
  4            /usr/bin/mg          30        manual mode
  5            /usr/bin/nvi         19        manual mode
  6            /usr/bin/vim.basic   30        manual mode
  7            /usr/bin/vim.tiny    10        manual mode

Press enter to keep the current choice[*], or type selection number: 6
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in manual mode.

To see if it worked try
# file /usr/bin/editor
/usr/bin/editor: symbolic link to `/etc/alternatives/editor'
# file /etc/alternatives/editor
/etc/alternatives/editor: symbolic link to `/usr/bin/vim.basic'
# update-alternatives --config editor
again and look for the * or try anything that opens an editor eg.
# crontab -e

Debian Configure Default Editor