-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_gvimrc
109 lines (91 loc) · 2.52 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
"------------------------------------------------------------
"
" gVim / MacVim configure file.
"
" Maintainer: Chun-Ping Chang (mrmoneyc) <moneyc.net -AT- gmail.com>
"
"------------------------------------------------------------
"------------------------------
" OS Specific
"------------------------------
if has("gui_macvim")
" fullscreen options (MacVim only), resized window when changed to fullscreen
set fuoptions=maxvert,maxhorz
" fullscreen by default
"set fu
set guifont=Menlo:h13
" turn on tabs by default
set stal=2
set transparency=2
set linespace=1
elseif has("gui_gtk2")
set guifont=Inconsolata\ 13
" turn on tabs by default
set stal=2
elseif has("x11")
elseif has("gui_win32")
end
"------------------------------
" General
"------------------------------
" Antialias font
set anti
" Default size of window
" use :set lines? and :set columns? to get line and col value
" When font size = 15pt
"set columns=140
"set lines=38
" When font size = 14pt
"set columns=159
"set lines=44
" When font size = 13pt
set columns=159
set lines=48
" maximize window
" set columns=999
" set lines=999
" Remove toolbar
set guioptions-=m
set guioptions-=T
set guioptions-=l
set guioptions-=L
set guioptions-=r
set guioptions-=R
set guioptions+=c
set guioptions-=e
" Tab headings
set gtl=%t gtt=%F
" Set color env
set t_Co=256
" Set Colorscheme
set background=dark
colorscheme onehalfdark
" colorscheme solarized
"colorscheme molokai
"colorscheme mango
"colorscheme mustang
"colorscheme wombat_mmc
"colorscheme wombat256_mmc
"colorscheme wombat256mod_mmc
"colorscheme desert256
"colorscheme ir_black
"colorscheme tir_black
"colorscheme slate
"colorscheme murphy
"colorscheme torte
" Enable full mouse support in the console (Not support Mac OS X)
set mouse=a
" Over length highting
"highlight OverLength ctermbg=red ctermfg=white guibg=#592929
"highlight OverLength ctermbg=red ctermfg=white guibg=red guifg=white
"match OverLength /\%81v.\+/
"hi LineProximity guibg=#DDDDB6 guifg=white
"hi LineOverflow guibg=#AAAAB6 guifg=white
""--------------------------------------------------
"hi LineProximity guibg=#696869 guifg=white
"hi LineOverflow guibg=#494849 guifg=white
"autocmd VimEnter * autocmd WinEnter * let w:created=1
"autocmd VimEnter * let w:created=1
"autocmd WinEnter * if !exists('w:created') | let w:m1=matchadd('LineProximity', '\%<101v.\%>95v', -1) | endif
"autocmd WinEnter * if !exists('w:created') | let w:m2=matchadd('LineOverflow', '\%>100v.\+', -1) | endif
""--------------------------------------------------