Since I won’t have my iMac for a while, I’ve had to give up my beloved Textmate. In its absence, I’ve been doing most of my Ruby programming in console VIM. Since I’m tired of having to recreate my preferences in .vimrc every time I’m on another system, I’m archiving it here for future reference:
" no war for heavy metal syntax on " syntax highlighting filetype on " detect the filetype filetype plugin on " load filetype plugins set nocompatible " turn off vi compatiblity set nowrap " don't wrap long lines set background=dark " I use a black background set tabstop=2 " Ruby-style tabs set number " line numbers set ai " autoindent set si " smartindent
If you’re new to VIM or are looking for a few sensible defaults for programming, you might want to try these options (put them in ~/.vimrc). Pretty colors, syntax highlighting, line numbers, auto-indents, a small tabwidth, and a few others. Simple. Just the way I like it.

