Personally, I use the non-free but absolutely phenomenal TextMate (http://macromates.com/), but I've enjoyed my work with jEdit (http://www.jedit.org/) and, of course, (X)Emacs.