For example, if I want to jump to the close form tag. how could I do this?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
|
The matchit.vim plugin, in conjunction with the html.vim filetype plugin, will allow you to do this. One way to load the matchit.vim plugin is to put this in your ~/.vimrc:
If you don't already have filetype plugins enabled, also put this in in your ~/.vimrc:
Then when you edit an HTML file, you can jump from a tag to the matching tag by typing
|
|||
|