syntax on filetype on filetype plugin on set smartindent "Turn on smart indent set tabstop=4 "set tab character to 4 characters set expandtab "turn tabs into whitespace set shiftwidth=4 "indent width for autoindent filetype indent on "indent depends on filetype "let g:solarized_termtrans=1 let g:solarized_contrast="high" set background=dark colorscheme solarized set number "set numberwidth=4 "set cursorline "Highlight current line set formatoptions=tcqn2 set ruler set modeline " stop indenting when pasting nnoremap :set invpaste paste? set pastetoggle= " then try hitting the F5 key while in insert mode " or just :set paste set showmode " Disable auto-identing nnoremap :setl noai nocin nosi inde= " Re-enable auto-identing nnoremap :setl ai cin si if has('gui_running') set guifont=Monospace\ 9 :winpos 20 20 :set lines=40 :set columns=160 endif