---

Yet Another Way to Change the Default Text Editor in Ubuntu and Debian

Choosing the right text editor for your workflow can significantly improve productivity, especially when working with administrative tools like crontab or visudo, which rely on the system’s default editor. If you’re frequently using such tools, it’s essential to set your preferred editor so you don’t have to work with a less comfortable one like nano if you prefer vim, or vice versa.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis