Re: match html tag

2007-03-14 Thread Akbar
On 3/14/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: matchit. It is distributed with Vim but not installed by default, because it conflict with the "vi" use of the % key. To install it, use the following shell commands in an xterm or Dos Box: - On Unix/Linux: cd $HOME mkdir -v

Re: match html tag

2007-03-13 Thread A.J.Mechelynck
Akbar wrote: Hi, I have this part of html file: haha The cursor is in first line (the opening div). When I hit certain key, the cursor will go to the third line (the closing div). There is a script to achieve this. I just forgot the name. Could you tell me the name? Thank you. matchit. I

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
Matchit seems to come standard with all versions of Vim I have had the pleasure to use these days. On the standard Vim 7.0 you get for Windows, as well as for Gentoo, I have had matchit included, with specific instructions in the help using matchit as the typical example for plugins. From us

Re: match html tag

2007-03-13 Thread Jean-Rene David
* Albie Janse van Rensburg [2007.03.13 10:00]: > You are looking for %. In order to enable the > use of it, you need to enable the matchit > plugin. See :help matchit matchit is an external plugin. http://www.vim.org/scripts/script.php?script_id=39 -- JR

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
Hello Akbar You replied to my address only, so I'm copying the list in on this. In future, use "Reply to list" if your mail client supports it, or "Reply to All", just so we all can share. Have you set the filetype correctly in your HTML file? Matchit works off the filetype definitions to

Re: match html tag

2007-03-13 Thread Akbar
I still have problem. % does perfectly in C source code (mathing curly braces). But it does nothing in html tag for html file. Any idea? Sorry for double post for Albie. On 3/13/07, Albie Janse van Rensburg <[EMAIL PROTECTED]> wrote: You are looking for %. In order to enable the use of it, you

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
You are looking for %. In order to enable the use of it, you need to enable the matchit plugin. See :help matchit Regards Albie Akbar wrote: Hi, I have this part of html file: haha The cursor is in first line (the opening div). When I hit certain key, the cursor will go to the third lin

match html tag

2007-03-13 Thread Akbar
Hi, I have this part of html file: haha The cursor is in first line (the opening div). When I hit certain key, the cursor will go to the third line (the closing div). There is a script to achieve this. I just forgot the name. Could you tell me the name? Thank you.