I use Vim ( http://www.vim.org ). It's almost painful to me to use any other kind of text editor because I've become quite fast with it. Great for writing code.

Kind of a steep learning curve but so so elegent; when you "get it" you'll never want to leave.

It's been ported to OS X as well ( http://macvim.swdev.org/OSX/ ).