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