a595464deec3f8c6341533b1c6c59d59ae786a88
[shutils.git] / dotfiles / vim / .gvimrc
1
2 " {{{ vimrc.local
3 if filereadable("/etc/vim/gvimrc")
4 source /etc/vim/gvimrc
5 endif
6 " }}}
7
8
9 set lines=25
10 set columns=90
11
12 set cursorline
13 set mousehide
14 "set guioptions-=T
15
16
17 function SetPresentationFont(mode)
18 if a:mode
19 set guifont=Liberation\ Mono\ for\ Powerline\ 12,Monospace\ Bold\ 12
20 else
21 set guifont=Liberation\ Mono\ for\ Powerline\ 10,Monospace\ 8
22 endif
23 endfunction
24
25 :menu Presentation.On :call SetPresentationFont(1)<CR>
26 :menu Presentation.Off :call SetPresentationFont(0)<CR>
27
28 "call SetPresentationFont(0)
29
30
31
32 "" {{{ vimrc.local
33 if filereadable($HOME . "/.gvimrc-local")
34 source ~/.gvimrc-local
35 endif
36 " }}}
37
38
39