Set local mark a
ma
Example
Normal 0 / 1Normal 1 / 1first line
second line
third line
fourth line
fifth lineCursor on line 3, column 2first line
second line
third line
fourth line
fifth lineCursor on line 3, column 2Remember the current position in this buffer.
Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '.
line 2, column 1
Remember the current position in this buffer
Local marks
- 'a
line 3, column 2- 'b
line 4, column 3- '.
line 2, column 1
Before & after
first line
second line
third line
fourth line
fifth lineCursor on line 3, column 2Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '.
line 2, column 1
first line
second line
third line
fourth line
fifth lineCursor on line 3, column 2Local marks
- 'a
line 3, column 2- 'b
line 4, column 3- '.
line 2, column 1
Start in Normal mode. Local marks a and b are prepared on the second and fourth lines; the panel shows actual mark positions.
Details & Vim help
Example replayed in Vim
Remember the current position in this buffer.
m followed by a lowercase letter sets a local mark. Use `a for its exact position or apostrophe-a for the first nonblank on its line. The mark is attached to this buffer.