|
From: | C K Kashyap |
Subject: | Re: Emacs equivalent of the ":g" command in vi |
Date: | Fri, 22 Jul 2011 15:32:10 +0530 |
I think he want to delete lines matching a regexp, so C-k is not what he> which could be as simple as in vi/vim.)
wants here.
`query-replace-regexp' can be used with a regexp like this:
^.*\(your_regexp\).*$
and you replace with nothing (empty prompt).
--
[Prev in Thread] | Current Thread | [Next in Thread] |