diff --git a/README.md b/README.md index 7381dc9..34dc2da 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Incremental Searching](vim/incremental-searching.md) - [Interactive Buffer List](vim/interactive-buffer-list.md) - [Joining Lines Together](vim/joining-lines-together.md) +- [Jump To Matching Pair](vim/jump-to-matching-pair.md) - [List All Buffers](vim/list-all-buffers.md) - [List Of Plugins](vim/list-of-plugins.md) - [Marks Across Vim Sessions](vim/marks-across-vim-sessions.md) diff --git a/vim/jump-to-matching-pair.md b/vim/jump-to-matching-pair.md new file mode 100644 index 0000000..5aa66b3 --- /dev/null +++ b/vim/jump-to-matching-pair.md @@ -0,0 +1,9 @@ +# 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. + +h/t Jake Worth