Use the guioptions setting (abbreviated as go).
:set guioptions -=m
Removes the menu bar.
:set guioptions -=T
Removes the toolbar.
My reference
Use the guioptions setting (abbreviated as go).
:set guioptions -=m
Removes the menu bar.
:set guioptions -=T
Removes the toolbar.
My reference