2008-12-23 17:34:12 -05:00
|
|
|
if has('autocmd')
|
|
|
|
autocmd GuiEnter * set t_vb= " Disable the visual bell
|
2008-12-23 16:40:05 -06:00
|
|
|
endif
|
2008-12-23 17:34:12 -05:00
|
|
|
|
|
|
|
" Get rid of the annoying UI
|
|
|
|
set guioptions-=t " Disable menu tear-offs
|
|
|
|
set guioptions-=T " Disable the toolbar
|
|
|
|
set guioptions-=m " Disable the menu
|
|
|
|
set guioptions-=R " Disable the (right) scrollbar
|
|
|
|
set guioptions-=r " Disable the (right) scrollbar
|
|
|
|
set guioptions-=l " Disable the (left) scrollbar
|
|
|
|
set guioptions-=L " Disable the (left) scrollbar
|
2009-04-04 01:01:35 -05:00
|
|
|
set guioptions-=a " Share the copy buffer with visual mode
|
2009-05-10 15:25:18 -05:00
|
|
|
|
2009-05-10 15:31:14 -05:00
|
|
|
" gtk tabs are ugly
|
|
|
|
if has('gui_gtk')
|
|
|
|
set guioptions-=e " Kill off the GUI tabs
|
2010-03-11 13:31:18 -06:00
|
|
|
set guifont=monospace\ 9
|
2009-08-28 18:00:12 -05:00
|
|
|
elseif exists('&antialias')
|
2010-03-11 13:31:18 -06:00
|
|
|
set guifont=monospace:h12
|
2009-05-10 15:31:14 -05:00
|
|
|
endif
|