Add or Remove the menu bar and toolbar from gvim

In _vimrc file:

” Add menu bar
set guioption+=m

” Add toolbar
set guioptions+=T

” Remove menu bar
set guioptions-=m

” Remove toolbar
set guioptions-=T

While already in gvim, enter command line mode, for example:

:set guioptions-=m

Advertisements