Marks
- You can set marks in the file and later move straight to them with one movement command.
m{a-zA-Z}sets a mark.- The a-z marks are local to the file, and the A-Z marks are global in all buffers.
- Jumping to the mark is done with
`{A-Za-z}.
- A jump to a mark can be given to a movement operator. For instance:
d`edeletes all text up to the mark "e".
- Vim has other mark-related command which can also be found in :help motion.txt
- Using
'instead of`jumps to the first non-blank character in the line.