On Fri, Dec 4, 2020 at 7:23 AM Dridi Boukelmoune <dridi.boukelmoune@xxxxxxxxx> wrote: > > > > Maybe I need to reboot my system for vim to take over again? > > > > You will at least need to logout and log back in. > > You're right, if I force a login instead of plain sudo it becomes apparent: > > $ sudo env | grep EDITOR > $ sudo su -c env | grep EDITOR > $ sudo su - -c env | grep EDITOR > EDITOR=/usr/bin/vim Actually, the package vim-default-editor is useless for sudo usage where there is no formal login happening. Regardless of whether I logged out and in my regular user session after installing it I still get nano as the root user editor. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx