Set your default editor to vim

Because why would you want to set it to anything else?

_$: sudo update-alternatives --config editor
sudo update-alternatives --config editor
There are 4 choices for the alternative editor (providing /usr/bin/editor).

  Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /bin/nano            40        auto mode
  1            /bin/ed             -100       manual mode
  2            /bin/nano            40        manual mode
  3            /usr/bin/vim.basic   30        manual mode
  4            /usr/bin/vim.tiny    10        manual mode

Don’t be fooled by this menu, the only option here is vim, so you must decide among options 3 and 4. The rest of editors shall remain in the shadows. Only vim deserves the glory. All hail vim!