Is there a shortcut to jump from , e.g
I already give it a try with '%' , but it doesn't work for this situation.
:help matchit-installfor instructions).
:filetype plugin on).
Henceforth, whenever you edit a file detected as
html or some other tag-based markup language, the combination of the
matchit plugin and the filetype plugin files will allow the
% motion to match open and close tags.
You can jump between tags using visual operators, in example:
Your cursor should jump forward to the matching closing html/xml tag. To jump backwards from closing tag, press o or O to jump to opposite tag.
Now you can either exit visual by pressing Esc, change it by c or copy by y.
To record that action into register, press qq to start recording, perform tag jump as above (including Esc), press q to finish. Then to invoke jump, press @q.
See more help at
:help visual-operators or
<tag> </tag>block (with tags)