I want to change the editor of visudo from nano to vim;
I have read the Arch wiki: https://wiki.archlinux.org/title/Sudo#Using_visudo
but nothing seems to work: visudo always launches nano
(I’m much more familiar with vim/vi than with nano).
Can it be that nano is hardcoded into visudo?
Please mark @xircon’s post as solution by clicking on … and checking the box.
This would help other users looking for solution to similar issue to more easily find one.