Friday, January 23, 2015

Re: Problem with matchit when editing html

Hi Cesar!

On Fr, 23 Jan 2015, Cesar Romani wrote:

> I'm using vim 7.4.591 on Windows 7.
> I'm editing an html file with the matchit plugin installed.
> Using % I can jump from <body> to </body>, <script> to </script>, etc.
> but not from ( to ), { to }, or [ to ] although "set mps" reports
> (:),{:},[:],<:>
>
> How can I add these pairs whenever I'm editing an html file?
> If I do, for example, "let b:match_words='(:)'" then all other default
> pairs get lost!

You need let b:match_words.='(:)'

for the rest see http://vimhelp.appspot.com/vim_faq.txt.html#faq-26.1

Best,
Christian
--
Ich verachte Leute, die Hunde halten. Das sind Feiglinge, die sich
nicht trauen, die Leute selber zu beißen.
-- August Strindberg

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment