On 2020-07-25 17:54, Adrian Keister wrote:
> There's an answer on the Stack Exchange site. Does that method work
> also?
That method finds only the case in which you have "aid" *followed by*
"country", so if you have
"This country needs all good men to come to her aid."
it won't find that
Tim,
Many thanks!
There's an answer on the Stack Exchange site. Does that method work also?
Cheers.
On Saturday, July 25, 2020 at 6:42:37 PM UTC-5, Tim Chase wrote:
>
> On 2020-07-25 15:59, Adrian Keister wrote:
> > Now is the time for all good men to come to the aid of their
> > country.
>
On 2020-07-25 15:59, Adrian Keister wrote:
> Now is the time for all good men to come to the aid of their
> country.
>
> In this test, I want to find all occurrences where the word 'aid'
> is within ten words of the word 'country'. How can I do that in Vim?
It's way ugly and requires using the
As most people on this forum are likely aware, searching for a word is
straight-forward enough. If I want to find occurrences of the word 'arc', I
can type / arc , with spaces around the three letters, to find basic
occurrences of the word (ignoring punctuation). But suppose I want to find