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: Thomas Dickey
Subject: Re: [vile] global :g command and line numbers
Date: Tue, 29 Mar 2011 04:05:46 -0400 (EDT)

On Mon, 28 Mar 2011, address@hidden wrote:

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

no - I think it's only in the changelog (will add it to the help-file).


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

_______________________________________________
vile mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/vile


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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