Cursor movement history in Vim

Posted by Vi on Super User See other posts from Super User or by Vi
Published on 2010-05-21T16:21:01Z Indexed on 2010/05/21 16:32 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

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)?

© Super User or respective owner

Related posts about vim

Related posts about cursor