Jump to matching XML tags in Vim -


vim % operator jumps to match matching brackets, comment end and some other things . However, XML tags (or any other tags do not match my best knowledge)

What's the best way to go to matching XML tags using VIM?

Note: What I want to do actually sees a mail tag manually without duplicating a section in an XML file.

is a plugin that is called match. You can see it here:. This was made to the exact purpose you stated.

Install that, place your cursor over the body of the tag (no, <>, else it will match with it) and press% to jump another tag

< / Html> How to find out the script's page

Comments