/
.gvimrc
25 lines (22 loc) · 878 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
let g:gvimrc_init = 1
set visualbell t_vb= " Disable the boop sound.
if !has("nvim")
set lines=500
set columns=100
set guifont=:h12
set guifont=Menlo\ Regular:h12
set encoding=utf-8
set guioptions-=T " hide the toolbar
set guioptions-=r " hide the scrollbars
set guioptions-=R " hide the scrollbars with vertical split
set guioptions-=l " hide the scrollbars
set guioptions-=L " hide the scrollbars with vertical split
endif
if has("gui_macvim")
set fuopt+=maxhorz " Resize to full screen
set macmeta " Necessary for using meta key in mappings on OSX
let macvim_skip_cmd_opt_movement = 1 " Prevent MacVim from mapping fake HOME/END to M-arrow keys.
map <D-f> :set invfu<CR> " toggle fullscreen mode
else
set laststatus=2
endif