On 6/1/07, Rick DeNatale <rick.denatale / gmail.com> wrote:
> > % works, but I'm using a ruby-matchit plugin I found on vim.org. I'm
> > not sure if this is the same as the dist that a few guys have been
> > working on at rubyforge.
>
> % in vim does something related to what he's asking for, but it
> doesn't automatically highlight the matching token when the cursor
> lands on it's mate.  G?Vim will do this for single character matching
> tokens like ( ), [] and {}, as you move the cursor over one of these
> it will highlight its mate if it doesn't have to scroll to do so.

Actually, mate-highlighting was added in vim 7:
http://vimdoc.sourceforge.net/htmldoc/pi_paren.html#matchparen


HTH,
Keith