How can I restore cursor position in Vim as it was before scrolling, selecting or PgUp/PgDn?
I'm tired of searching where I was before I scrolled up to look something at the top.
Are there something like "Prev cursor position" and "Next cursor position" commands (like 'u' and 'R' for regular undo/redo)?
Example: Looking somewhere in the middle of the source file (no editing), then jumping to the top (
1G) then failing to find where you was before that. Of course, no marks set. (I know that I can use ":sp" to view several places simultaneously).