Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 356 Bytes

jump-to-matching-pair.md

File metadata and controls

11 lines (7 loc) · 356 Bytes

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