forked from opsmanager/vim-config
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gvimrc
38 lines (29 loc) · 704 Bytes
/
.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
" use gui tabs
set guioptions+=e
" kill the menubar
set guioptions-=T
" kill the scrollbars
set guioptions-=r
set guioptions-=L
" go full screen like you mean it
if has('win32')
au GUIEnter * simalt ~x
elseif has('mac')
set fuoptions=maxvert,maxhorz
endif
" set a valid swap file location
if has('win32')
set directory=%TEMP%
endif
" turn off beeping and prevent screen lighting flash
if has('win32')
set noerrorbells visualbell t_vb=
autocmd GUIEnter * set visualbell t_vb=
endif
" initial window size
set lines=45 columns=120
runtime! custom_config/*.gvim
set guifont=Monaco:h17
if filereadable(glob("~/.vimrc.local"))
source ~/.vimrc.local
endif