-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gvimrc
More file actions
60 lines (49 loc) · 1.73 KB
/
.gvimrc
File metadata and controls
60 lines (49 loc) · 1.73 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" WARNING:
" No attempt has been made to confirm these settings work across
" VIM versions and platforms. Try them out on a throw away file before
" adopting them for general purpose.
"
"
" The .gvimrc file is ran everytime a new GUI VIM instance is
" started. Use .vimrc to provide base settings for all VIM instances.
"
" The file is broken down into groups of settings and each one
" should be documented to express the purpose behind the setting
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" System {
"auto load this config if it changes
if has('autocmd')
autocmd bufwritepost .gvimrc source $MYGVIMRC
" for windows
autocmd bufwritepost _gvimrc source $MYGVIMRC
endif
"max out the gvim window
set lines=999
set columns=999
" always default the font to courier new
if has("gui_gtk2")
set guifont=Courier\ New\ 10
elseif has("gui_photon")
set guifont=Courier\ New:s10
elseif has("gui_kde")
set guifont=Courier\ New/10/-1/5/50/0/0/0/1/0
elseif has("x11")
set guifont=-*-courier-medium-r-normal-*-*-180-*-*-m-*-*
else
set guifont=Courier_New:h10:cDEFAULT
endif
" }
" Styling {
" I don't want a scrollbar on the left when I have split windows
" mostly because I use nerdtree and the <ctl>f/b commands
set guioptions-=L
" For that matter I don't want scrollbars on the right either.
" Generally can tell if there is more to the file from other
" visuals.
set guioptions-=R
" I don't care for the little toolbar buttons at the top. This is VIM
" I should be getting used to keyboard commands anyway.
set guioptions-=T
" }