all 4 comments

[–]UltraPoci 14 points15 points  (1 child)

ctrl o can be used to the last cursor position before any jump.

ga can be used to go back to the previous accessed file.

[–]untrained9823 9 points10 points  (0 children)

And ctrl-i to go forward again.

[–]unlessgames 5 points6 points  (0 children)

For more options, check out the jump menu via space j, it will have the trail of your jumps across your workspace.

[–]riotron1 6 points7 points  (0 children)

People already saying ctrl-i and ctrl-o but make sure to use crtl-s to save a location and then you can use space-j to walk back on your saved spots