I spent all my time in a terminal window and swear that vim is a tool of the gods. If vim isn't available I'll use notepad++, gedit or plain notepad only to wind up with :wq strewn throughout every page.
vim
notepad++
gedit
:wq