[prev in list] [next in list] [prev in thread] [next in thread]
List: vim
Subject: Re: Getting past "PATTERN NOT FOUND" in a macro
From: Antony Scriven <ads () metawire ! org>
Date: 2004-02-28 4:47:28
Message-ID: 20040228044728.GB3305 () openwire
[Download RAW message or body]
Richard Livornese wrote:
> Thanks for the help. Sorry I've been away from this for a couple of days.
> I'm still having some problems.
>
> Here's one of the files:
> %let UID=;
> %LET PWD=;
> /***********/
>
> When I run: bufdo if search('\c%let') | .,+1d | w | endif
>
> I get:
> %let UID=;
>
> So 2 lines did get deleted, but not starting at the one I was hoping to
> find.
Right. The cursor starts out in the first line. So guess
which line search() finds first.
Antony
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic