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: rusi
Subject: Re: Emacs equivalent of the ":g" command in vi
Date: Wed, 28 Mar 2012 19:19:30 -0000
User-agent: G2/1.0

On Jul 22, 1:42 pm, C K Kashyap <ckkash...@gmail.com> wrote:
> Hi,
> Could someone please tell me how I could go about something like this -
> I need to perform a certain action (such as delete the line) on each line of
> a buffer if the line matches a regular expression. In vim, we can use the :g
> command for this.
> Regards,
> Kashyap

Look at flush-lines (and such) here: http://www.emacswiki.org/emacs/ViEmacsTable
Also macros and such here: http://www.emacswiki.org/emacs/ViKeys


reply via email to

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