Moving back to the last cursor position in line in vimPosted: May 20, 2014 | Author: ThomasPowell | Filed under: daily learning | Tags: keyboard, vim | Leave a comment »
Ever have a stray keystroke in vim that jumped to somewhere you didn’t intend to go?
`` will jump to the exact position of where you were.
Two single quotes
'' will jump to the first non-blank character where you were.
This also works for moving to the beginning of a line/cursor position set by a mark (
More explanation can be found at