Text editors

GEdit on Linux and OS X.
TextWrangler on OS X.
Nano, which runs in Terminal and works nearly everywhere.
Emacs and Emacs for OS X; be prepared to do some learning, though.
Vim and MacVim.