Vim Marks

Back

Vim marks can mark a line and be used to jump back to the line when needed

Marking a line

To mark a line with the mark m

mm

Marking another line with the same mark will replace the line the mark jumps to

Jump to mark

To go back to the mark m

'm