Saturday, May 31, 2014

Re: Filetype specificity for menus

Hi Tim!

On Fr, 30 Mai 2014, Tim Johnson wrote:

> I'm using vim 7.3 Huge Gtk2-gnome gui, on ubuntu 12.04.
>
> I've used vim for many years but have not figured out how to do the
> following :
>
> Make a menu item coded for a specific filetype *not* be present in a
> buffer of a different filetype.
>
> Example : with python.vim, a menu for python-specific actions is
> installed. Switching to a javascript buffer, the python menu
> remains. It would be great if it were to go away.

I think, all that is possible is to disable a certain menu but you can't
actually removed it once it was defined.

Best,
Christian
--
Die Arroganz der Kleinen ist es, immer von sich, die der Großen nie
von sich zu reden.
-- François Marie Voltaire

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: