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 visual mode) is

  :g/X/d

to get

  :'<,'>g/X/d

-tim



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to