Sunday, March 6, 2011

Re: Toolbars in Gvim (Debian + KDE 4.4.5) won't switch off

> You don't want the 't' item in guioptions.  That's short for 'tearoff'
> menu items.  Even if you add:
> finish
> as the first line of /usr/share/vim/vim73/menu.vim, you still get a
> sliver of a menu bar when the 't' is there.
>
> (though I only realized what was happening when I couldn't reproduce the
> problem with the Debian vim-gtk package (GTK GUI) but could with
> vim-gnome (GTK2-GNOME GUI).)
>
> Not sure if there are other 'tearoff' menus in Vim (so that disabling
> 't' would be overkill), but that seems like the main problem.

Thank you for your reply.
I tested removing the "t", but the toolbar still appears. Mind you, I
got rid of the menubar just fine. Anyway, I just tested putting
"finish" in the first line of /usr/share/vim/vim73/menu.vim, and that
did the trick. If I understand :help :finish correctly, it means I
don't source this file at all, which is fine by me. To quote the help
again "Long-time Vim users won't use menus much", so that's probably
what I've turned into (without noticing it).

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: