hi,
If i use <leader>tm instead of <f4> the menu does not toogle until I press another key after last CR, if I leave f4, it works instantly. Is that something I am missing or something in my vimrc causing this?
On Thu, Nov 21, 2013 at 4:33 PM, Tim Chase <vim@tim.thechases.com> wrote:
On 2013-11-21 10:24, Konovalov, Vadim wrote:nnoremap <f4> :if &go=~'m'<bar>set go-=m<bar>else<bar>set
> 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??
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.
--
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.
No comments:
Post a Comment