if has('autocmd') autocmd GuiEnter * set t_vb= " Disable the visual bell fi " 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