How to hide the menu/tool bar of gvim?

vim

Solution

Use the guioptions setting (abbreviated as go).

:set guioptions -=m 

Removes the menu bar.

:set guioptions -=T

Removes the toolbar.

My reference

Problem

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.

Original source