Change visudo editor from nano to vim

linuxubuntu

sudo update-alternatives --config editor