vim

My editor of choice whenever I can’t use TextMate, simply due to the fact that I find it extremely efficient (and readily available everyhwere).

There’s even a vi Input Manager for Mac OS X OS X , which means that I can now edit text anywhere in Cocoa apps with the same muscle memory…

Cheat Sheets

For newbies, taken from this graphical vi-vim Cheat Sheet and Tutorial:

  • Basic Editing
  • Operators & Repetition
  • Yank & Paste
  • Searching
  • Marks & Macros
  • Various Motions
  • Various Commands
  • Everything

The full sheet is here.

Resources:

Using vim as a man pager (useful for obscure UNIX variants):

export MANPAGER="col -b | view -c 'set ft=man nomod nolist' -"

Also of note is vimdiff, which everyone keeps forgetting about.