For whatever reason I never caught on to using vim or vi as my editor in Linux. I have no idea why, but I always used nano. Sometimes when I go to install one of the many various Linux distributions out there, vim or vi will be set to be the default editors. While I know my way around either of those, enough to open a new document, add or edit some content and then save and exit out of it, I really don't feel comfortable doing anything more then that.

Fortunately it's pretty easy to setup nano as your default editor in Linux. First, open up your ~/.bashrc file. Then add the following to it:

export EDITOR="nano"
export VISUAL="nano"

Save the file and exit. Note, you may already have some content within your ~/.bashrc file. That's alright, just add the above lines to the bottom of the file. You may also need to exit out of your shell and log back in for the changes to take effect. Enjoy!