Setting Your Default Text Editor on Linux
When you run crontab -e, git commit, visudo, or similar commands, Linux applications need to know which text editor to launch. This is controlled by environment variables and system configuration, with several methods available depending on your needs. Understanding EDITOR and VISUAL The EDITOR environment variable tells applications which text editor to use. A related…
