help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs equivalent of the ":g" command in vi


From: Peter Dyballa
Subject: Re: Emacs equivalent of the ":g" command in vi
Date: Fri, 22 Jul 2011 12:12:44 +0200

Am 22.07.2011 um 12:02 schrieb C K Kashyap:

> I'd like the result to not leave blank lines.

Then modify the regexp to:

        ^.*\(your_regexp\).*^J

The final ^J (LINEFEED character) can be input as C-q C-j or as C-o.

--
Greetings

  Pete

Globalisation – communism from above.




reply via email to

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