How to hide the menu/tool bar of gvim?

前端 未结 7 824
刺人心
刺人心 2020-12-12 18:42

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.

7条回答
  •  误落风尘
    2020-12-12 19:25

    The gVim shipping with Fedora (not sure if other distributions are effected) has a bug that doesn't allow you to remove the menu with set go-=m; for some reason, the "m" option isn't in the "go" string until you set it. So the .vimrc command sequence that removes the menu bar on startup in Fedora (tested in 26) is:

    set go=agitm
    set go-=m
    

    I couln't find a solution anywhere else, so hopefully that helps someone else using gVim on Fedora.

提交回复
热议问题