8bbfa5e4366f25b8aee078f5f43a842183e7ead3
[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=88
11
12 set cursorline
13 set mousehide
14
15
16 function SetPresentationFont(mode)
17 if a:mode
18 set guifont=Liberation\ Mono\ for\ Powerline\ 12,Monospace\ Bold\ 12
19 else
20 set guifont=Liberation\ Mono\ for\ Powerline\ 10,Monospace\ 10
21 endif
22 endfunction
23
24 :menu Presentation.On :call SetPresentationFont(1)<CR>
25 :menu Presentation.Off :call SetPresentationFont(0)<CR>
26
27 call SetPresentationFont(0)
28
29
30
31 "" {{{ vimrc.local
32 if filereadable($HOME . "/.gvimrc-local")
33 source ~/.gvimrc-local
34 endif
35 " }}}
36
37
38