Re: How pair g /g

2006-09-19 Thread Benji Fisher
On Mon, Sep 18, 2006 at 10:23:27PM +0200, Thomas Holder wrote: Yakov Lerner wrote: On 9/18/06, Thomas Holder [EMAIL PROTECTED] wrote: 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

How pair g /g

2006-09-18 Thread Peng Yu
Hi, 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? Thanks, Peng

Re: How pair g /g

2006-09-18 Thread Thomas Holder
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.

Re: How pair g /g

2006-09-18 Thread Yakov Lerner
On 9/18/06, Thomas Holder [EMAIL PROTECTED] wrote: 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 =

Re: How pair g /g

2006-09-18 Thread A.J.Mechelynck
Peng Yu wrote: Hi, 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? Thanks, Peng - Install and use the matchit plugin (e.g., add a file $VIM/vimfiles/plugin/matchit.vim with