Сменить редактор по умолчанию для всей системы sudo update-alternatives –config editor sudo update-alternatives –set editor /usr/bin/mcedit