From a1fa7f464a77892b837b0e7e7351cdb86368ed38 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 24 Nov 2014 17:16:45 +0300 Subject: [PATCH] move gvim and color style into version check expression + switch to 7.0 check instead of 7.3 --- vimrc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/vimrc b/vimrc index 8e8c67a..2479c07 100644 --- a/vimrc +++ b/vimrc @@ -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,23 +110,23 @@ if v:version >= 703 " buffergator options map , :BuffergatorToggle endif -endif -" gvim stuff -if has("gui_running") - let g:solarized_italic=0 - let g:solarized_bold=0 - let NERDTreeDirArrows=1 - set guioptions=aegimLl - set mouse=a - set guifont=Monofur\ 11 - set novb - map - map! - colorscheme jellybeans -elseif &t_Co > 88 - let g:airline_powerline_fonts = 1 - colorscheme solarized + " gvim and colorschemes related stuff + if has("gui_running") + let g:solarized_italic=0 + let g:solarized_bold=0 + let NERDTreeDirArrows=1 + set guioptions=aegimLl + set mouse=a + set guifont=Monofur\ 11 + set novb + map + map! + colorscheme jellybeans + elseif &t_Co > 88 + let g:airline_powerline_fonts = 1 + colorscheme solarized + endif else colorscheme elflord endif