最佳答案
Vim %
operator jumps to matching parentheses, comment ends and a few other things. It doesn't, however, match XML tags (or any other tag, to the best of my knowledge).
What's the best way to jump to the matching XML tag using Vim?
Note: What I really want to do is duplicate a section in an XML file without manually looking for the matching tag.