-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgvimrc
32 lines (23 loc) · 1.03 KB
/
gvimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set guicursor+=a:blinkon0 " Switch off cursor blinking for all modes.
set guioptions-=m " Remove menu bar.
set guioptions-=T " Remove toolbar.
set guioptions-=e " Do not use gui tabs.
set guioptions+=c " Do not use gui dialogs.
set guioptions+=r " Always show right scrollbar.
set guioptions+=b " Always show bottom scrollbar.
set guioptions-=l " Never show left scrollbar.
set guioptions-=L " Never show left scrollbar.
if has('win32') || has('win64') " Set GUI preferences unique to each OS:
set guifont=Consolas:h11
set guioptions+=d
elseif has('mac')
set guifont=Monaco:h14
set guioptions-=b " Turn off bottom scrollbars on gui macvim
set guioptions+=e " Use MacVim tabs again now that they're awesome
" Unmap default menu mappings:
macmenu &Edit.Cut key=<nop>
macmenu &Edit.Copy key=<nop>
macmenu &Edit.Paste key=<nop>
elseif has('unix')
let &guifont='Monospace 10'
endif