Monday, December 24, 2012

Re: g command on visual selection

Hi Asis!

On Fr, 21 Dez 2012, Asis Hallab wrote:

> Dear Vimmers,
>
> is there a way to restrict a
> g/my_regex/d
> command to a range?
>
> I tried
> '<,'>norm g/min/d
> but that did not do the trick.

By the way, you can also use the \%l and \%c items which you can read
about at
:h /\%l
:h /\%c

>
> Santa Claus will forgive any sins, if you have some help to offer on this.

Haha, very funny ;)

> Merry Christmas everyone!

dito.

regards,
Christian
--
Es sind immer nur unsere Augen, unsere Vorstellungsarten; die
Natur weiß ganz allein, was sie will, was sie gewollt hat.
-- Goethe, Maximen und Reflektionen, Nr. 358

--
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

No comments: