This plugin makes the "%" command jump to matching HTML tags, if/else/endif in Vim scripts, etc.

The plugin comes packaged with newer versions of vim and can be enabled by adding the following line to the .vimrc:

runtime macros/matchit.vim