Move vim GUI options to .vim/gvimrc

This commit is contained in:
Kenneth Benzie 2016-07-05 20:00:30 +01:00
parent 5b2a04a499
commit c57679dbb7
2 changed files with 16 additions and 18 deletions

16
gvimrc Normal file
View File

@ -0,0 +1,16 @@
" Set gui options
" - a Autoselect
" - e Add tab pages
" - g Grey menu items
" - i Use the Vim icon
set guioptions=aegi
if platform#is_windows()
set guifont=Consolas:h10:cDEFAULT
else
" Set default font
set guifont=Source\ Code\ Pro\ Medium\ 9
endif
" Allow space for line numbers
set columns=85

18
vimrc
View File

@ -25,24 +25,6 @@ if !platform#is_windows() || has("gui_running")
endif endif
syntax sync minlines=200 syntax sync minlines=200
" GUI
if has("gui_running")
" Set gui options
" - a Autoselect
" - e Add tab pages
" - g Grey menu items
" - i Use the Vim icon
set guioptions=aegi
if platform#is_windows()
set guifont=Consolas:h10:cDEFAULT
else
" Set default font
set guifont=Source\ Code\ Pro\ Medium\ 9
endif
set columns=85
endif
" }}}
" Plugins {{{ " Plugins {{{
call plug#begin('~/.vim/plugs') call plug#begin('~/.vim/plugs')