Move vim GUI options to .vim/gvimrc
This commit is contained in:
parent
5b2a04a499
commit
c57679dbb7
16
gvimrc
Normal file
16
gvimrc
Normal 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
18
vimrc
@ -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')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user