Wednesday, January 19, 2022

Re: Disable Help

On 2022-01-19, Joseph Wulf wrote:
> Gary,
>
> Thank you.
>
> That's interesting.
> In doing  ":verbose map <f1>", I get the following output:
> x  <F1>          <Nop>               Last set from ~/.vimrc
> s  <F1>          <Nop>               Last set from ~/.vimrc
> o  <F1>          <Nop>               Last set from ~/.vimrc
> n  <F1>          <Nop>               Last set from ~/.vimrc
>
> While in my .vimrc, I have:
> cmap <F1> <nop>
> imap <F1> <nop>
> lmap <F1> <nop>
> nmap <F1> <nop>
> omap <F1> <nop>
> smap <F1> <nop>
> vmap <F1> <nop>
> xmap <F1> <nop>
>
> At the moment, in command-mode, <F1> is properly NOT working, while in INSERT
> mode, <F1> still does bring up the help.
> I can see I'm getting closer, as I'm half-way there.

Joe,

Thanks for showing all that. Interesting that your insert-mode
mapping doesn't work. I was thinking that

verbose map <f1>

would show all maps of <f1>, but it doesn't. It doesn't show
insert-mode maps. Obvious on reflection, but I don't always
reflect. To see those, execute

:verbose imap <f1>

HTH,
Gary

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220120003914.GA14109%40phoenix.

No comments:

Post a Comment