On 08/23/2010 11:12 PM, Ben Fritz 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


Thanks - I didn't know this was possible, and I needed it a few times
in the past.. -ak

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