On Thu, Nov 21, 2013 at 10:24:16AM -0500, Konovalov, Vadim wrote:
> I use following command to make menu appear:
> set go+=m
> and this one to make it disappear:
> set go-=m
> is there a way to toggle it?
> Using a function??
Vadim:
Did you not see Christian's reply to this same question yesterday?
If not, it was:
:com ToggleMenu if &go=~'m'|set go-=m|else|set go+=m|endif
which defines a command to perform the toggle you are desiring.
If there's something you don't understand or don't like about his reply,
say so and we can line it out for you.
--
_|_ _ __|_|_ ._ o|
|_(_)(_)|_| ||_)||<
|
--
--
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/groups/opt_out.
Thursday, November 21, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment