Like ', without changing the jumplist when jumping within the current buffer
g'{mark}
Example
Normal 0 / 1Normal 1 / 1one
two
threeCursor on line 1, column 1one
two
threeCursor on line 2, column 3Like ', without changing the jumplist when jumping within the current buffer.
Command applied
Before & after
one
two
threeCursor on line 1, column 1one
two
threeCursor on line 2, column 3Start in Normal mode. Local mark a is prepared on w of the second line.
Details & Vim help
Example replayed in Vim
Like ', without changing the jumplist when jumping within the current buffer. Use in Normal mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. A jump to a file mark in another buffer may change the jumplist.