Open licoded opened 8 months ago
OR: Jump between HTML tags with just vim
vat + Esc to get to the ending tag.
vat + Esc
vato + Esc to get to the starting tag.
vato + Esc
After vat you can also press o to jump back and forth between the start and the end.
vat
o
Seems like matchit plugin will do the same by allowing you to jump with %
https://github.com/vim/vim/tree/master/runtime/pack/dist/opt/matchit
I'd recommend using matchup these days, it's a modern replacement for matchit.
https://github.com/andymass/vim-matchup
Choice1: only use raw features of VIM
vat + Esc
to get to the ending tag.vato + Esc
to get to the starting tag.After
vat
you can also presso
to jump back and forth between the start and the end.Choice2: use plugins
matchit
Seems like matchit plugin will do the same by allowing you to jump with %
https://github.com/vim/vim/tree/master/runtime/pack/dist/opt/matchit
vim-matchup
I'd recommend using matchup these days, it's a modern replacement for matchit.
https://github.com/andymass/vim-matchup