1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-04 23:58:01 +00:00

Add Beginning And End Of Previous Change as a vim til.

This commit is contained in:
jbranchaud
2015-11-04 21:45:39 -06:00
parent 499bb8c295
commit 0d093c8f3e
2 changed files with 12 additions and 0 deletions

View File

@@ -231,6 +231,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
- [Add Custom Dictionary Words](vim/add-custom-dictionary-words.md)
- [Alternate Files With vim-rails](vim/alternate-files-with-vim-rails.md)
- [Amend Commits With Fugitive](vim/amend-commits-with-fugitive.md)
- [Beginning And End Of Previous Change](vim/beginning-and-end-of-previous-change.md)
- [The Black Hole Register](vim/the-black-hole-register.md)
- [Buffer Time Travel](vim/buffer-time-travel.md)
- [Case-Aware Substitution With vim-abolish](vim/case-aware-substitution-with-vim-abolish.md)

View File

@@ -0,0 +1,11 @@
# Beginning And End Of Previous Change
You can jump to the beginning of the previous change with the `[` mark by
hitting `'[` from normal mode. Similarly, you can jump to the end of the
previous change with the `]` mark by hitting `']`.
Text that was just pasted is also considered a change. Thus, hitting `'[`
and `']` will jump to the beginning and end, respectively, of the text that
was just pasted into the buffer.
See `:h '[` and `:h ']` for more details.