On Nov 4, 8:26 am, Stahlman Family <[email protected]> wrote:
> Peng Yu wrote:
> > I can copy highlighted text. I'm wondering if there is a way to search
> > only in highlighted text.
>
> Use the \%V regex assertion
>
> :help /\%V

If there are multiple matches in the highlighted region, when I type /\
%Vpattern, the highlighted region will shrink to end at the first
match. When I type 'Enter', it will give me the first match, because
the highlighted region has been changed.

Is it a bug? Or I didn't use the command properly?
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to