Saturday, November 5, 2011

Re: Compound search

On Nov 4, 11:38 pm, meino.cra...@gmx.de wrote:
> Hi,
>
> suppose I want to find "holidays" after "work".
>
> The text, which I want to search has 50000 lines.
> The first word is "work" and the last one is "holidays".
>
> I do a
>
>     :/work/;/holidays/
>
> The resulting match is the whole text somehow.
>

Are you actually trying to use this search in a range, or just trying
to DO a search? The latter is accomplished without the leading :

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

No comments: