Find the edges of a change or yank
`[ or `]
Example
Normal mode. Yanked Ada with yiw in Hello Ada!. Cursor moved elsewhere; no edits, yanks or writes since.
Before
Line: Hello Ada!
Last yanked text: Ada
Cursor: elsewhere
- `[ A in Ada · start of yanked text
- `] Final a in Ada · end of yanked text
After
After `[ : cursor on A in Ada
After `] : cursor on the final a in Ada
Details & Vim help
Jump to Vim’s start or end mark for recently changed or yanked text.
Return to a recently changed or copied passage after moving away.
Changes, yanks and buffer writes replace these marks. After inserting before existing text, the end mark can land on the following character. Backtick jumps to the exact column; apostrophe variants jump to the line’s first nonblank.
Shows the boundaries after a characterwise yank of Ada. Later changes, yanks or buffer writes replace these marks.
Try it in Vim
- Make an edit or yank a passage.
- Type a backtick followed by [ to visit its start.
- Type a backtick followed by ] to visit its end.