" tabstops at 2, always use spaces instead of tabs set tabstop=2 set shiftwidth=2 set softtabstop=2 set expandtab set autoindent " syntax highlighting syntax on " assume *.t files are perl au BufRead,BufNewFile *.t set filetype=perl " embedded visual basic (puke) files au BufRead,BufnewFile *.ebf set filetype=vb " mutt config files au BufRead,Bufnewfile *muttrc* set filetype=muttrc " for makefiles, we really need to turn off tab -> space expansion! au BufEnter ?akefile* set noexpandtab au BufLeave ?akefile* set expandtab " yank line under mark, handy map Y yy1