If the matchit (http://www.vim.org/scripts/script.php?script_id=39) plugin is loaded, define pairs to be handled by the % key.