vile
[Top][All Lists]
Advanced

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

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


From: Thomas Dickey
Subject: Re: [vile] print-prefixed-lines-til
Date: Tue, 27 Sep 2016 21:39:42 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Sep 27, 2016 at 08:42:31PM -0400, Wayne Cuddy wrote:
> 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

> 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 see (no, there's no command for that).  But you can get something like
that using

        :e !grep -n . %

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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