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
34
vimrc
34
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,23 +110,23 @@ 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
|
||||||
set guioptions=aegimLl
|
set guioptions=aegimLl
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set guifont=Monofur\ 11
|
set guifont=Monofur\ 11
|
||||||
set novb
|
set novb
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue