Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to move to another page in gVim without moving the cursor from its present location?

Splits don't count :)

share|improve this question
up vote 2 down vote accepted

No, the way that Vim functions internally (and also due to historical reasons) means that cursor must always be visible.

share|improve this answer
Yeah, suspected as much ... but just, thought I'd check ... – Rook Jan 21 '12 at 1:14

This is not possible AFAIK.

The best you can do is drop a mark.

Or you can press gi. This will place you where you last were inserting text.

share|improve this answer

I do not believe this is possible. You can, however, move the window relative to the current cursor position, while maintaining the cursor on the screen by using zz (move cursor to middle of screen), zt (move cursor to top of screen), and zb (move cursor to bottom of screen). In all of these cases, the cursor position is unchanged, while the window is scrolled around it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .