vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] print-prefixed-lines-til


From: Wayne Cuddy
Subject: Re: [vile] print-prefixed-lines-til
Date: Tue, 27 Sep 2016 20:42:31 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Sep 27, 2016 at 07:39:49PM -0400, Thomas Dickey wrote:
> ----- Original Message -----
> | From: "Wayne Cuddy" <address@hidden>
> | To: "Vile List" <address@hidden>
> | Sent: Tuesday, September 27, 2016 4:08:35 PM
> | Subject: Re: [vile] print-prefixed-lines-til
> | 
> | On Tue, Sep 27, 2016 at 04:06:36PM -0400, Wayne Cuddy wrote:
> | > Does a function exist like print-prefixed-lines-til that will not
> | > prefix each line with the name of the source buffer?  All I'm after
> | > are line numbers.
> 
> :%num
> 
> 
> -- 
> Thomas E. Dickey <address@hidden>
> http://invisible-island.net
> ftp://invisible-island.net


That's not quite exactly what I'm looking for, sorry I didn't
accurately describe what I wanted...

Specifically what I'm looking for is output in the [p-lines] buffer
similar to what is produced by :g,pattern,pp but without the buffer name
prefixed on each line.

I tried :g,pattern,num but that numbers the lines in the [p-lines]
buffer sequentially, where I want the line number from the original
source buffer.

Thanks,
Wayne



reply via email to

[Prev in Thread] Current Thread [Next in Thread]