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:
@@ -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)
|
||||
|
||||
11
vim/beginning-and-end-of-previous-change.md
Normal file
11
vim/beginning-and-end-of-previous-change.md
Normal 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.
|
||||
Reference in New Issue
Block a user