" Syntax highlighting, go! syntax on " Lots of history set history=50 " So deets at the bottom set showmode set showcmd set nomodeline " Don't wrap long lines set nowrap " Auto indent what you can set autoindent " Make searching a little nicer set ignorecase set smartcase set gdefault " Match gt and lt as braces " set matchpairs+=<:> set showmatch " Make backspace a bit nicer set backspace=eol,start,indent " Give me a ruler set ruler " Don't try to be compatible with vi set nocompatible " Two spaces for a tab set ts=2 set shiftwidth=2 set shiftround " Stop the mouse from interfering set mouse= " Resize splits map :resize -2 map :resize +2 " PHP Syntax check map :w :!php -l % " Highlight chars over 80 columns " highlight OverEighty term=bold ctermfg=red " match OverEighty /\%80v.*/ " I want to be able to read my comments highlight Comment ctermfg=2 " Re-indent XML map :1,$!xmllint --format - " Switch tabs map 8 :tabe map 9 gT map 0 gt " Open file under cursor in new tab map ^WgF " Reload current document on F% map :edit " Colors, lovely colors colo xoria256