Peng Yu wrote:
> I'm writing some xml code in vim. In xml, there are some pair like
> <g> </g>. Would you please let me know how to pair them as "{" and
> "}" such that I can us % to visit them?

source $VIMRUNTIME/macros/matchit.vim
let b:match_words = '<g>:</g>'

see $VIMRUNTIME/macros/matchit.txt for help.

Regards,
  Thomas

Reply via email to