I just stumbled on shift+enter to page-down in vim. I'm wondering if there is something as useful (i.e. easier to reach than ctrl+B) for paging up. I'm looking for something that is already there, not a custom mapping.

link|improve this question

80% accept rate
feedback

3 Answers

up vote 2 down vote accepted

PageDown and Shift-Down work the same as Ctrl-F, and PageUp and Shift-Up work the same as Ctrl-B. See

:help CTRL-F
:help CTRL-B

You can see all Vim's key bindings at

:help index

To see the help topics containing some keyword, type :help followed by the keyword, followed by Ctrl-D.

link|improve this answer
1  
hrm, Shift-Enter is not mentioned at all in :help index. Unfortunately, PageUp and Shift-Up are even less reachable than just CTRL-F and CTRL-B. I was just hoping there was something as convenient as Shift-Enter for going up a page instead of down a page. Kind of looking like there isn't. – digitaljoel Jan 20 at 23:14
1  
I noticed that Shift-Enter and the equivalent <S-CR> were missing from the documentation, so I sent a note to the vim_user list to find out why. I agree that PageUp and PageDown aren't easy to use, but Ctrl-F, Ctrl-B, Ctrl-E, Ctrl-Y and the rest become easier after you use them for a while. I don't know of anything as easy as Shift-Enter, though. – garyjohn Jan 20 at 23:58
While you answer isn't what I was hoping for, you have still answered my question. Thanks for the efforts. – digitaljoel Jan 21 at 3:16
feedback

Are you looking for Ctrl+F? It's the same that Ctrl+B but in the other direction.

link|improve this answer
nope, was wondering if there was another mapping (like shift+enter that I just happened to accidentally hit and like) that didn't include the right hand ctrl. – digitaljoel Jan 20 at 22:49
@digitaljoel: Ah, ok. No idea without mapping. I will leave the answer until found the correct one to avoid a similar misunderstood and I will delete this post after that. Good luck! – Birei Jan 20 at 23:03
feedback

Ctrl+d will scroll the window down and Ctrl+u up. It might be easier to reach as you avoid the right ctrl.

This is not the same as page-up/down but you can configure it to be using the 'scroll' option.

From the help (for ctrl+d):

Scroll window Downwards in the buffer. The number of lines comes from the 'scroll' option (default: half a screen).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.