2008/10/22 Gary Johnson <[EMAIL PROTECTED]>:
>
> I compile my own vim, but it turns out that one of the machines I
> use is also running RHEL 4 and that /usr/bin/vim is version 6.3.82.
> I tried the following:
>
>   $ /usr/bin/vim -N -u NONE somefile.html
>   :so /usr/share/vim/vim63/macros/matchit.vim
>   :filetype plugin on
>   :filetype detect
>
> I put the cursor on the opening < of the <head> tag and hit %.  Each
> press of % moved the cursor back and forth between the < and the >
> of the <head> tag.  Then I moved the cursor to the 'h' in <head>.
> Hitting % moved the cursor to the / in the </head> tag.  Each
> subsequent press of % moved the cursor back and forth between the
> first characters of the <head> and </head> tags.
>

Can you try braces as well as angle brackets, it is those I usually
try to match.

> So, with no ~/.vimrc at all, the RHEL 4 installation of vim seems to
> work fine here.  The version of matchit.vim I sourced is 1.9.  Maybe
> there's a bug in version 1.13.2, or maybe there is something in your
> ~/.vimrc that's interfering with the proper operation of
> matchit.vim.
>
> Try using matchit.vim version 1.9 if you still have it and try the
> experiment above.  We can probably get this figured out.

I'll try 1.9 tomorrow and see if that changes anything.

Robin

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

Reply via email to