Change visudo editor from nano to vim

sudo update-alternatives –config editor