Fix colorschemes in vimrc

This commit is contained in:
Eryn Wells 2011-07-01 06:54:27 -07:00
parent d14cbca661
commit 76d6f308da

15
vimrc
View file

@ -75,7 +75,6 @@ set nojoinspaces
set number set number
set scrolloff=3 set scrolloff=3
set sidescrolloff=5 set sidescrolloff=5
set bg=light
set pastetoggle=<F2> set pastetoggle=<F2>
@ -110,22 +109,26 @@ endif
" tell SnipMate who I am " tell SnipMate who I am
let g:snips_author = 'Eryn Wells <eryn@3b518c.com>' let g:snips_author = 'Eryn Wells <eryn@3b518c.com>'
if has('autocmd') "if has('autocmd')
autocmd BufWritePost .vimrc source $MYVIMRC " autocmd BufWritePost .vimrc source $MYVIMRC
endif "endif
if has('gui_running') if has('gui_running')
if has('win32') || has('win64') if has('win32') || has('win64')
set guifont=Inconsolata:h18 set guifont=Inconsolata:h18
elseif has('mac') elseif has('mac')
set guifont=Inconsolata:h18 set guifont=Menlo:h14
elseif has('linux') elseif has('linux')
set guifont=Inconsolata\ 14 set guifont=Inconsolata\ 14
endif endif
set cursorline set cursorline
set guioptions-=T " turn off toolbar set guioptions-=T " turn off toolbar
set guioptions-=m " turn off toolbar set guioptions-=m " turn off toolbar
colorscheme blackboard
set bg=light
colorscheme solarized
else
colorscheme default
endif endif
let mapleader=',' let mapleader=','