My vimrc
Here's my usually settings for vim. These settings work well with rxvt and Cygwin.
<geshi> set softtabstop=2 set shiftwidth=2 set tabstop=2 set expandtab
set nocompatible " We're running Vim, not Vi! set t_Co=256 syntax on " Enable syntax highlighting colorscheme darkblue filetype plugin indent on " Enable filetype-specific indenting and plugins
" Load matchit (% to bounce from do to end, etc.) runtime! macros/matchit.vim
augroup myfiletypes
" Clear old autocmds in group autocmd! " autoindent with two spaces, always expand tabs autocmd FileType ruby,eruby,yaml set ai sw=2 sts=2 et
augroup END
set viminfo='10,\"100,:20,%,n~/.viminfo au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif </geshi>