Change your default text editor in Linux

Nowadays Linux uses nano for most distributions as the default text editor. In some cases people prefer that, but others may not. It’s possible to change the default text editor in Linux with only a single command. Here’s how.