I’ve known for a while that you can jump to the last place you edited with the
gi command but it’s always been slightly annoying to me that
gi places you into INSERT mode.
To get back to the same place, but in NORMAL mode you can use the
^ mark by typing
This mark is reset everytime you leave edit mode.
You can see what that mark is set to with
Shoutout to Josh Branchaud and his Vim Un-Alphabet series for teaching me a new vim trick!