Re: Simple search across lines?
- From: "Shawn Young" <radbelt_res@xxxxxxxxx>
- Date: 28 Nov 2005 09:46:18 -0800
> Preben 'Peppe' Guldberg wrote:
> [on ignoring newlines when searching]
> If you ignred newlines as a character, the "you\ndid" sequence above
> would not be destinguished from "youdid", so you would not match start
> of word before did.
I see, I had assumed that there would be a white space in there. I
guess that isn't needed is it?
> > Since the philosophy of vim seems to be to minimize the number of key
> > strokes, I had hoped that there might be some search sequence that
> > would make the match ignore all new line characters.
> Sometimes things cannot be generalised very easily.
That is what I was afraid of. It sounds like I need to learn something
about writing vim functions.
Thanks,
Shawn
Peppe
.
- Follow-Ups:
- Re: Simple search across lines?
- From: Preben 'Peppe' Guldberg
- Re: Simple search across lines?
- References:
- Simple search across lines?
- From: Shawn Young
- Re: Simple search across lines?
- From: Preben 'Peppe' Guldberg
- Re: Simple search across lines?
- From: Shawn Young
- Re: Simple search across lines?
- From: Preben 'Peppe' Guldberg
- Simple search across lines?
- Prev by Date: Re: Translating pipe into sed script
- Next by Date: Re: whizzytex for VIM?? ----- how to track typing in vim?
- Previous by thread: Re: Simple search across lines?
- Next by thread: Re: Simple search across lines?
- Index(es):
Relevant Pages
|