Hi MacDonald,!

On Mi, 15 Feb 2012, MacDonald, Stuart wrote:

> From: On Behalf Of Christian Brabandt
> > On Tue, February 14, 2012 14:53, MacDonald, Stuart wrote:
> > > ...and how would one find that? ':he ^L' just goes to the :redraw help
> > > and the ':he /' section doesn't appear to talk about 'ctrl-l'.
> > >
> > > The help is implemented with tags, and I've often wondered why ':tn'
> > > doesn't do the obvious thing and take you to the next related help
> > > topic. In this case cycling through ':redraw', <search's ctrl-l help>,
> > > <whatever>, etc.
> > 
> > If you use
> > :tag /CTRL-L
> > you can then use :tn to jump to all the different matchting tags.
> 
> 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:
:tag /Ctrl-L
The third :tn will bring you to :h c_Ctrl-L

> actual question is, why doesn't the help contain a pre-built tags
> file? On third thought, perhaps because what I'm asking for is more of

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

> an index operation, which is a looser association that a series of
> tags is normally.
> 
> Also, ':he /^L' gives 'E149: Sorry, no help...'

Don't use the literal ^L but type CTRL-L

> My question stands, how would a user find out about ctrl-l within the
> / operator? (For the record, this appears to be answered elsethread.)

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.

regards,
Christian

-- 
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