X-Git-Url: https://git.sthu.org/?p=shutils.git;a=blobdiff_plain;f=dotfiles%2Fvim%2F.gvimrc;h=61042d13a1a1d5512189c7077f38f956c016d851;hp=a595464deec3f8c6341533b1c6c59d59ae786a88;hb=f558e6cbacb2a9ebf2834987a2356d340a229f9a;hpb=74182f6fc8472c6779f24f8337b9911a7bb6a5f3 diff --git a/dotfiles/vim/.gvimrc b/dotfiles/vim/.gvimrc index a595464..61042d1 100644 --- a/dotfiles/vim/.gvimrc +++ b/dotfiles/vim/.gvimrc @@ -9,24 +9,13 @@ endif set lines=25 set columns=90 +au FileType tex set columns=110 + set cursorline set mousehide "set guioptions-=T - -function SetPresentationFont(mode) - if a:mode - set guifont=Liberation\ Mono\ for\ Powerline\ 12,Monospace\ Bold\ 12 - else - set guifont=Liberation\ Mono\ for\ Powerline\ 10,Monospace\ 8 - endif -endfunction - -:menu Presentation.On :call SetPresentationFont(1) -:menu Presentation.Off :call SetPresentationFont(0) - -"call SetPresentationFont(0) - +set guifont=DejaVu\ Sans\ Mono\ 10,Monospace\ 10 "" {{{ vimrc.local