1
0
Fork 0

move gvim and color style into version check expression + switch to 7.0 check instead of 7.3

This commit is contained in:
Von Random 2014-11-24 17:16:45 +03:00
parent faf154132f
commit a1fa7f464a

10
vimrc
View file

@ -45,7 +45,7 @@ vnoremap j gj
vnoremap k gk
" still have to deal with old vim versions :<
if v:version >= 703
if v:version >= 700
set helplang=en
set list
@ -110,10 +110,9 @@ if v:version >= 703
" buffergator options
map <C-W>, :BuffergatorToggle<cr>
endif
endif
" gvim stuff
if has("gui_running")
" gvim and colorschemes related stuff
if has("gui_running")
let g:solarized_italic=0
let g:solarized_bold=0
let NERDTreeDirArrows=1
@ -124,9 +123,10 @@ if has("gui_running")
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
colorscheme jellybeans
elseif &t_Co > 88
elseif &t_Co > 88
let g:airline_powerline_fonts = 1
colorscheme solarized
endif
else
colorscheme elflord
endif