From: On Behalf Of Christian Brabandt
> On Mi, 15 Feb 2012, MacDonald, Stuart wrote:
> > Yes, when you have a tags file. That does not work in the help system,
> > which is what I was asking about. On second thought, I suppose my
> 
> You didn't try it, right? Open the help and enter:

Wrong. I came >< that close to replying to your original suggestion
with the same "didn't try it, right?" but figured I'd rather be sure.
So I tried several combinations, none of which worked...

> :tag /Ctrl-L
> The third :tn will bring you to :h c_Ctrl-L

...except I didn't try the one combination that does work: typing what
you said literally. ':tag /^L' doesn't work for instance. So yes, your
suggestion works but it uses the :tag command in a way I've never used
it before.

> There is a pre-built tags file for the help. Its $VIMRUNTIME/doc/tags
> and can be updated with :helptags

Nifty! Thanks.

> Usually you prepend a letter plus a low dash for the mode, in which you
> are interested, e.g. 'i_', if you need to find out a key-combination in
> insert mode (e.g. :h i_CTRL-X_CTRL-F for insert mode completion) or 'c_'
> for command mode, as in this case and as Andy already told you. And at
> last, you can always :helpgrep for grepping inside the help files for
> any search string.

Also didn't know about :helpgrep. Thanks!

...Stu

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui