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:
The full sheet is here.
Resources:
- jsvi, a JavaScript implementation. Yes, it’s insane.
- vimperator, a Firefox extension that makes it look and behave like vim.
- Vim (heart) Mac , a way to integratevimwith just about any Mac application.
- Syntax highlighting file for Dreamweaver templates
- Efficient Editing with vim
- Native version for Mac OS X OS X (I don’t use it, since you pick up all sorts of nasty menu habits that won’t help you one whit when you’re working remotely)
- Seven Habits Of Effective Text Editing
- vim.org
- Keyword Completion
- The vim Outliner
- Vigor , the Office paperclip forvi
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.
Useful Snippets
$ cat .vimrc set textwidth=0 set formatoptions=1 set lbr set wrap








