vile
[Top][All Lists]
Advanced

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

Re: [vile] deleting blank lines over a range


From: Thomas Dickey
Subject: Re: [vile] deleting blank lines over a range
Date: Thu, 28 Apr 2011 16:37:14 -0400 (EDT)

On Thu, 28 Apr 2011, Paul Fox wrote:

address@hidden wrote:
> I see that the v and g commands only operate over the entire file and I can
> use deblank for individual lines but is there a way to delete empty lines as
> specified via a range or the selection?

i don't believe so.  i've wanted that a few times myself.  the closest
you can get is, do it once, then hold the '.' key down.  :-)

that command came pretty much directly from uemacs, and has never
been converted or offered in an operator form.

Offhand, I'm curious what a pure-vi syntax might be to delete blank lines
in a range (since that would make a pattern prompt somewhere in the
command).

I see "forceblank" is what "deblank" used to be.

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



reply via email to

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