Monday, August 23, 2010

Re: Visual selection not working ?

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

No comments: