syntax on filetype on set background=dark set showcmd set hlsearch let g:solarized_termcolors=256 colorscheme solarized ".vim/colors/solarized.vim " Jump to last position in file when reopening if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif " Switch between light/dark backgrounds " F12 toggles between light and dark backgrounds map :if &background == "light" \set background=dark \else \set background=light \endif set t_Co=256