Vim
Vim is one of the greatest text/code editors out there. It is improved clone of Bill Joy's vi (Visual Editor) originally written for the amiga and later ported to many other OS's.
Useful Vim tips
- Using the 'record' mode of Vim.
- How to indent a range of source code
- By default, when opening files in Mac OS X, a new vim window is opened. This shows you how to have only one window.
- Search and replace in all buffers.