move gvim and color style into version check expression + switch to 7.0 check instead of 7.3
This commit is contained in:
parent
faf154132f
commit
a1fa7f464a
1 changed files with 17 additions and 17 deletions
6
vimrc
6
vimrc
|
@ -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,9 +110,8 @@ 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
|
||||||
|
@ -127,6 +126,7 @@ if has("gui_running")
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue