Jump to a bookmark with Vim

In Vim, you can make a bookmark and assign a character to reference the bookmark.

Then you can jump to that bookmark.

You can use '{character} and `{character}

The difference between '{character} and `{character} is that the first jumps to the non-space of the line that you book mark but the second jumps to exact position in the line that you book mark.

mm is handy and easy to remember for creating a bookmark with m character reference.

Example

mm then jump to a bookmark position with 'm

enter image description here

mm then jump to a bookmark position with `m

enter image description here