Thursday, January 20, 2022

Re: Disable Help

Gary,

Little closer......The results for "i' were:
i  <F1>          <Nop>         Last set from ~/.vimrc
In my previous email, I showed that (I thought) I'd addressed ALL the modes (c, i, l, n, o, s, v, x).

R,
-Joe Wulf;  RHCSA(RHEL7), FITSP-D, CISSP, VCP3, CPO(USN/RET)
Tony Robbins:  "Management is focusing on getting someone to get a result. Leadership is producing a standard in someone that when you're gone, they will live by to produce higher level results consistently".




On Wed, Jan 19, 2022 at 7:38 PM Gary Johnson <garyjohn@spocom.com> wrote:
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.

--
--
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/CAJ8cad-aZORqWSjdqiZMexQwUQ%2BsSyQ%2BzLazhpzO2GQVxE1XTw%40mail.gmail.com.

No comments:

Post a Comment