Is there a shortcut to jump from , e.g <XX>
to </XX>
?
I already give it a try with '%' , but it doesn't work for this situation.
vimxml
Is there a shortcut to jump from , e.g <XX>
to </XX>
?
I already give it a try with '%' , but it doesn't work for this situation.
Best Answer
matchit
plugin (see:help matchit-install
for instructions).:filetype plugin on
).Henceforth, whenever you edit a file detected as
xml
orhtml
or some other tag-based markup language, the combination of thematchit
plugin and the filetype plugin files will allow the%
motion to match open and close tags.