On Thu, Jul 2, 2009 at 18:57, Tim Chase<[email protected]> wrote:
> Though I think it would annoy the bajeebers out of me, you can do
> it with something like:
>
>   :au CursorHold * exec 'match IncSearch /'.expand("<cword>").'/'
>
> You might want to tweak that to include word-boundaries:
>
>     ...earch /\<'.expand('<cword>').'\>/'
>
> with whatever the proper escaping of the "\" characters might be.
>  You can use 2match or 3match (or whatever), perform it for just
> certain file-specs (instead of "*") and change up the syntax
> group instead of IncSearch to whatever you like.
>
> -tim

Sorry for your bajeebers and thanks a lot for the tip: that was a quick service!

Vincent

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to