-
Notifications
You must be signed in to change notification settings - Fork 9
/
gvimrc
58 lines (47 loc) · 1.38 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
" set the height of my window:
let &t_Co=256
set lines=40
" set the width:
set columns=82
" Solarized color scheme for vim and gvim
set background=light
"colorscheme solarized
colorscheme wombat256
" call togglebg#map("<leader>bg")
set noballooneval
" Switch to wombat colorscheme
" Note: This comes after the Solarized option above. The following should be
" commented out if I intend to use the Solarized color scheme.
"colorscheme wombat
" Toggle wombat and solarized-light with \cc {{{
let g:colortoggle=0
nmap <silent> <leader>cc :call ColorToggle()<CR>
function! ColorToggle()
if g:colortoggle==0
colorscheme solarized
set background=light
let g:colortoggle=1
else
colorscheme wombat
let g:colortoggle=0
endif
endfunction
" Toggle wombat and solarized-light with \cc }}}
" font-style and font-size
set guifont=Inconsolata:h15
" get rid of left scrollbar when splitting vertically
set go-=l
" Get rid of menu (m) and toolbar (T)
set guioptions-=m
set guioptions-=T
" a makes visual mode more powerful
" c makes tabs look less fancy, among other things probably
set guioptions=ac
" Set up the gui cursor to look nice
set cursorline
set guicursor=n-v-c:block-Cursor-blinkon0
set guicursor+=ve:ver35-Cursor
set guicursor+=o:hor50-Cursor
set guicursor+=i-ci:ver25-Cursor
set guicursor+=r-cr:hor20-Cursor
set guicursor+=sm:block-Cursor-blinkwait175-blinkoff150-blinkon175