Quick Tip: Change Your Default Editor
EDITOR = emacs
VISUAL = emacs
export EDITOR VISUAL (optional, makes changes globally)
I prefer vim/vi, but you may prefer something entirely different. The EDITOR variable is for text manipulation in the Terminal window. On the flipside, VISUAL represents the GUI based text editor side.