-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_gvimrc
38 lines (31 loc) · 793 Bytes
/
_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
" lsdr .gvimrc
"
" if on mac, occupy full window in fullscreen mode
if has("gui_macvim")
:set fuoptions=maxvert,maxhorz
nmap <silent> <leader>fu :set fu<cr>
nmap <silent> <leader>nfu :set nofu<cr>
end
" platform-dependent font setup
if has("gui_macvim")
set guifont=Roboto\ Mono:h14
" set guifont=Inconsolata-dz\ for\ Powerline:h14
" set guifont=Droid\ Sans\ Mono:h14
set linespace=2
else
set guifont=Inconsolata\ 12
end
set antialias
" we don't need no stinkin' toolbar/scrollbars!
set guioptions-=T
set guioptions-=L
set guioptions-=r
" make window as big as possible
set lines=999
set columns=9999
" saving on focus lost
" autocmd FocusLost * :wa
" autocmd TabLeave * :w
" avoid those pesky indentation problems when pasting to gui-vim
set nopaste
" vim: set ft=vim: