forked from wilsonwc/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgvimrc
38 lines (28 loc) · 1.27 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
33
34
35
36
37
38
" ----------------------------------------------------------------------
" | General Settings |
" ----------------------------------------------------------------------
set guicursor=n:blinkon0 " Turn off blinking cursor in normal mode
set visualbell " ┐ Disable beeping and window flashing
set t_vb= " ┘ https://vim.wikia.com/wiki/Disable_beeping
if has("gui_running")
set guioptions-=T " Remove toolbar
set guioptions-=m " Remove menu bar
set guioptions-=L " Remove left-hand scroll bar
set guioptions-=r " Remove right-hand scroll bar
" Set custom font settings
if has("gui_macvim")
set guifont=Menlo:h16
elseif has("gui_gnome")
set guifont=Monospace\ 12
endif
endif
" ----------------------------------------------------------------------
" | Local Settings |
" ----------------------------------------------------------------------
" Load local settings if they exist
"
" Note: The following needs to be included last in order to allow
" any of the above settings to be overwritten by local ones
if filereadable(glob("~/.gvimrc.local"))
source ~/.gvimrc.local
endif