Am 14.02.2012 14:53, schrieb MacDonald, Stuart:
From: On Behalf Of Andy Wokula
Am 13.02.2012 22:54, schrieb Alexey Muranov:
When searching (with "/") and a partial match is highlighted, and the
first partial match is a part of the string one is looking for, it
would be nice if instead of typing the rest of the search string, one
could simply hit the right arrow a number of times to simultaneously
extend the highlighted match and complete the search string.

You are looking for  CTRL-L
It's already there :-)

...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 very first help page
    :help
is a must-read.  It says, to find a cmdline-specific key, prepend "c_":
    :h c_^L
or
    :h c_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.

...Stu, vim user for 20 years, but still learning...

Maybe because this idea isn't so obvious for other people?
At least there is a todo item (without priority):

    :h todo|/^Help
Help:
-   When a help item has multiple matches make it possible to use ":tn" to go
    to the other matches.

--
Andy

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