On 2013-11-21 10:24, 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??
nnoremap <f4> :if &go=~'m'<bar>set go-=m<bar>else<bar>set
go+=m<bar>endif<cr>
You can then use <f4> to toggle the menu bar.
-tim
--
--
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