vile
[Top][All Lists]
Advanced

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

Re: [vile] global :g command and line numbers


From: lists-vile
Subject: Re: [vile] global :g command and line numbers
Date: Mon, 28 Mar 2011 21:56:17 -0400
User-agent: Mutt/1.4.2.3i

Thanks that'll do the trick. Did I miss that in the documentation somewhere?

On Mon, Mar 28, 2011 at 08:46:55PM -0400, Thomas Dickey wrote:
> On Mon, 28 Mar 2011, address@hidden wrote:
> 
> >With most vi variants if I have line numbers enabled (:set nu) and I use
> >the global command to list lines matching a pattern the original line
> >numbers are retained in the matched listing. With vile the line numbers
> >in [p-lines] buffer are renumbered starting from 1. Is it possible to
> >have vile retain the original line numbers in the [p-lines] buffer or
> >emulate the other behavior somehow?
> 
> vile can do something like that - use "pp" rather than "p" to print the 
> buffer name and original line number (as part of the [p-lines] buffer
> rather than in the number column).
> 
> -- 
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net



reply via email to

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