1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00
Files
til/vim/jump-to-matching-pair.md
2015-10-07 18:00:52 -05:00

12 lines
356 B
Markdown

# Jump To Matching Pair
If you are dealing with code or data that contains parentheses or brackets
that are hard to follow, you can easily jump between them with `%`.
For example, if you move over a `[` and hit `%`, Vim will jump your cursor
to the matching `]`. Hit `%` one more time and it will jump back.
See `:h %` for more details.
h/t Jake Worth