How to hide the menu/tool bar of gvim?


I don't have use for the menu and tools bars in gvim on Windows; Can I hide them?

This will give more space to the text area.

enter image description here


Answers:


:set guioptions -=m 

Removes the menubar.

:set guioptions -=T

Removes the toolbar.

My reference