Monday, August 23, 2010

Re: Visual selection not working ?

Thanks a lot ... this is really useful .. looks like even search can
be restricted to within the selection!

On Tue, Aug 24, 2010 at 8:42 AM, Ben Fritz <fritzophrenic@gmail.com> wrote:
>
>
> On Aug 23, 9:00 pm, AK <andrei....@gmail.com> wrote:
>>
>> No mistake, but you apparently did not know that s command works on the
>> whole line, always, as far as I know.
>
> This is true, but you can restrict matches to always start within the
> last (or current) visual selection. See:
>
> :help /\%V
> http://vim.wikia.com/wiki/Search_and_replace_in_a_visual_selection
>
> --
> 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
>

--
Regards,
Kashyap

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