Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim go to end of current tag (when editing HTML/Vue/React files) #184

Open
licoded opened this issue Feb 5, 2024 · 0 comments
Open

vim go to end of current tag (when editing HTML/Vue/React files) #184

licoded opened this issue Feb 5, 2024 · 0 comments

Comments

@licoded
Copy link
Owner

licoded commented Feb 5, 2024

OR: Jump between HTML tags with just vim

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 press o 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant