Hi,
As per subject. For instance, how to delete all lines containing pattern X
from visual block.
I know how to do substitute (use %V or range) and after a short trial
error to apply ed commands (like d or m) I came up with
','g/X/d
Is this the correct way or am I working too hard?
On 03/13/2011 06:05 AM, Yosi Izaq wrote:
','g/X/d
Is this the correct way or am I working too hard?
This is what I do, and I can't think of any more concise way to
write this -- when you're in visual mode and press the :, vim
automatically feeds the visual range so all you have to type (in