-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgvimrc
More file actions
22 lines (18 loc) · 690 Bytes
/
gvimrc
File metadata and controls
22 lines (18 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set guioptions-=T " Remove toolbar
set guioptions-=t " Remove tear-off menus
set guioptions+=c " Use :ex command-mode prompts instead of modal
" dialogs
if has("gui_macvim")
" set guifont=Anonymous\ Pro:h14
set guifont=Source\ Code\ Pro\ for\ Powerline:h12
elseif has("Win32")
set guifont=Consolas:h9:cANSI
endif
" Setting these in GVim/MacVim because terminals cannot distinguish between
" <Space> and <S-Space> because curses sees them the same
nnoremap <Space> <PageDown>
nnoremap <S-Space> <PageUp>
if has("autocmd")
" Automatically resize viewport splits when resizing MacVim window
autocmd VimResized * wincmd =
endif