> Is there a way to have vim visually select (not just hlsearch) the
> current match?
>
> That is every time I press "n" or "N" while performing a search I'd
> like vim to automatically visually select the match so that I can
> immediately perform operations on the match.
v//e
That has the side-effect of changing the current search pattern to
include the e flag, so if you want to repeat the search, you may
have to recall the original pattern from search history.
There might also be a better solution to the actual problem you're
trying to solve, but it's hard to know without more information
about the problem.
Regards,
Gary
--
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:
Post a Comment