mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Move guivim config into vimrc so it works with VimR
This commit is contained in:
parent
928c0b2825
commit
9e337a1e26
16
gvimrc.local
16
gvimrc.local
@ -1,16 +0,0 @@
|
||||
" Remove scrollbars
|
||||
set guioptions-=R
|
||||
set guioptions-=r
|
||||
set guioptions-=L
|
||||
set guioptions-=l
|
||||
|
||||
" Set GUI font according to OS
|
||||
if has("gui_macvim")
|
||||
set guifont=Source\ Code\ Pro:h14
|
||||
elseif has("gui_gtk2")
|
||||
set guifont=Source\ Code\ Pro\ 10
|
||||
endif
|
||||
|
||||
" Color scheme
|
||||
set background=dark
|
||||
colorscheme gruvbox
|
||||
19
vimrc.local
19
vimrc.local
@ -1,6 +1,25 @@
|
||||
" Color scheme
|
||||
colorscheme Tomorrow-Night
|
||||
|
||||
if has("gui_running")
|
||||
" Set GUI font according to OS
|
||||
if has("gui_macvim") || has("gui_vimr")
|
||||
set guifont=Source\ Code\ Pro:h14
|
||||
elseif has("gui_gtk2")
|
||||
set guifont=Source\ Code\ Pro\ 10
|
||||
endif
|
||||
|
||||
" Color scheme
|
||||
set background=dark
|
||||
colorscheme gruvbox
|
||||
|
||||
" Remove scrollbars
|
||||
set guioptions-=R
|
||||
set guioptions-=r
|
||||
set guioptions-=L
|
||||
set guioptions-=l
|
||||
endif
|
||||
|
||||
" Map ctrl-hjkl for easy window movement
|
||||
map <c-h> <c-w>h
|
||||
map <c-j> <c-w>j
|
||||
|
||||
Loading…
Reference in New Issue
Block a user