My .vimrc:
filetype on " Auto-detect filetype filetype plugin indent on " Auto-indent set expandtab " No TABs... autocmd FileType make set noexpandtab " ...except in Makefiles set shiftwidth=4 " 1 indent = 4 spaces set tabstop=4 " 1 TAB = 4 columns set ruler " Display cursor position set listchars=tab:>-,trail:·,extends:# " How to display whitespaces set list " Display whitespaces syntax on " Syntax highlighting color zellner " Color scheme set background=dark " Contrast for on-black xterms (which I prefer) set nowrap " Do not wrap long lines... autocmd FileType tex set wrap " ...except in TeX / LaTeX set showmatch " Briefly jump to opening brace set vb t_vb= " Disable terminal beeps set hlsearch " Highlight search matches set incsearch " Incremental search (remember to press <RETURN> when done) " Settings required by vim-latex set shellslash " Convert backward slashes to forward ones in filename references set grepprg=grep\ -nH\ $* " Force grep to display file name even in single-file searches let g:tex_flavor='latex' " Force .tex to mean LaTeX, not plain TeX let g:Tex_SmartQuoteOpen = "\"`" " Opening quote, German style let g:Tex_SmartQuoteClose = "\"'" " Closing quote, German style let g:Tex_AutoFolding = 0 " Do not fold on opening file
My .gvimrc:
highlight Normal guifg=green guibg=black " Colors as I like them set guifont=Monospace\ 12 " The default font sucks
