If gui_running, to use light background, otherwise to use dark one

This commit is contained in:
Gea-Suan Lin
2012-12-17 09:47:59 +08:00
parent 5c78d4eede
commit c7497b5eea

6
.vimrc
View File

@@ -26,7 +26,11 @@ set wildmenu
syntax on syntax on
" "
" color schema " color schema
set background=dark if has('gui_running')
set background=light
else
set background=dark
endif
let g:solarized_termcolors=256 let g:solarized_termcolors=256
colo solarized colo solarized
highlight Search cterm=none ctermbg=blue highlight Search cterm=none ctermbg=blue