On Mi, 02 iun 10, 22:28:38, Tony Mechelynck wrote:
> 
> But when all hope of finding your needle in that huge haystack seems
> lost, there is one extremely useful command: :helpgrep. It accepts
> one Vim-style regular expression (without the bounding slashes) and
> will search the whole contents on the help for anything matching
> that pattern. Results are given as a quickfix list (see :help
> quickfix.txt), navigate them with :cnext, :cprev, :cnfile, :cpfile,
> :cfirst, :clast (which may of course be assigned to single keys,
> e.g.
> 
>       :map <F2> :cnext<CR>
>       :map <S-F2> ;cprev<CR>
> 
> or else, :copen will open (and, afterwards, :cclose will close) a
> window showing one line per match with the filename, linenumber, and
> the relevant line of text.

Wow, that's a great tip!

Regards,
Andrei
-- 
http://nuvreauspam.ro/2010/05/4-neticheta-pe-mail/

Attachment: signature.asc
Description: Digital signature

Reply via email to