On Tue, Sep 27, 2016 at 07:39:49PM -0400, Thomas Dickey wrote: > ----- Original Message ----- > | From: "Wayne Cuddy" <[email protected]> > | To: "Vile List" <[email protected]> > | 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 <[email protected]> > 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 _______________________________________________ vile mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/vile
