123

I am using MacOSX Snow Leopard.

How do I achieve page-up and page-down?

9 Answers 9

123

If you have a full keyboard you can use the pgup and pgdown keys on your keyboard, near the numpad.

If you are not using a full keyboard, function, labeled fn on your keyboard, plus the up and down arrow keys will give you a page up and down.

For certain applications, particularly in shell / terminal / tty windows, the expected behaviour is achieved with fn+shift+arrow up/down

4
  • 3
    -1 actually FN+Up/Down is not the same as FN+PageUp/PageDown. For example, the traditional PageUp/PageDown does not work in irssi.
    – hhh
    Commented Mar 19, 2013 at 8:53
  • 7
    @hhh: It seems that irssi and some other terminal apps use Shift+PgUp/PgDn, so the key combination on a MBP would be Shift+Fn+PgUp/PgDn. Commented Jan 28, 2014 at 2:02
  • 1
    This is for the hardware mapping of these functions. OSX applications don't generally use these keys in the way most of us expect. ctrl+a and ctrl+e (home & end) are an option. My post below explains how to get the functionality you expect for the Terminal application. Each app handles these keys according to it's own settings. Strange. Commented Jul 17, 2014 at 18:05
  • 1
    This has not been my experience. I have the full size Apple Keyboard hooked up to my Mac Pro and these keys only work as expected outside of OSX. My post below shows how to alter Terminal so it'll work normally. But it was also helpful when I learned that in general OSX has CTRL+A as HOME and CTRL+E as END Commented Dec 22, 2014 at 16:21
39

It's true that the hardware keyboard on Macintosh machines has:

Fn + = Home
Fn + = End
Fn + = Pg up
Fn + = Pg down

So these "keys" fully exist already. This is apparent if you run Linux/Windows natively on your Mac.

However, macOS applications are responsible for handling these functions as they see fit, which is different from what you'd see on Windows or Linux. Therefore, the macOS Terminal application needs some tweaking to use these keys.

I believe the reason for this is that macOS follows an old-school Unix tradition where:

ctrl + a = Home
ctrl + e = End

I now use this routinely, but my terminal-reflexes still demand a proper home,end,pg-up,pg-down...

Edit macOS's Terminal Keyboard Binding Settings to match

home end page up page down

I tend to get this entered by copying a similar entry that already exists, then using the 'delete a character' button, I remove the different bits before typing in the rest.

Overall, this will look along these lines: Match the home, end, pg up and pg down

This meets all my expectations for how this should work. It works in vim and through ssh.

2
  • 1
    I think it's really funny which answer has been accepted for this question. I guess different strokes for different folks? Commented May 20, 2015 at 0:41
  • 1
    this should be the accepted answer, easier to read, and much more informative, thanks!
    – ryenus
    Commented Jul 13, 2015 at 1:30
14

On my (Danish) keyboard layout (under 10.7.5) it is fn + shift + /.

3
  • I have an US English keyboard and this is what works for me under terminal if I'm SSHed. Commented May 11, 2013 at 4:55
  • 1
    It works for me in the terminal regardless of whether I'm SSHed.
    – Tommy
    Commented Mar 12, 2014 at 11:17
  • This works for shells in VirtualBox with U.S. Extended keyboard layout (under 10.10.5)
    – Marius
    Commented Sep 10, 2015 at 17:13
6

It's + Up/Down arrow keys.

4
  • This doesnt work for me? What am I doing wrong? Commented Oct 7, 2011 at 23:34
  • 1
    @hobs not sure, but I'm actually on Lion, works either way for me, with fn and ⌥
    – Artem Pakk
    Commented Oct 8, 2011 at 21:00
  • Same here, Macbook 13 inch running 10.7, I will look into it. Commented Oct 9, 2011 at 13:03
  • 1
    On OS X 10.6.8 I get about a 3-line scroll w/ opt+arrow versus actual PgUp PgDn behavior with the fn+arrow.
    – sholsinger
    Commented Oct 13, 2011 at 18:57
4

If you use KeyRemap4Macbook app, check under "Change Arrrow Up/Down/Left/Right" keys.

When you have this set up, Page Up and Page Down will work with irrsi – I log-on remotely to another linux host for that – you only need to press Shift + Page Up or Page Down will work for that window (as opposed to scrolling pages of OS X terminal window).

0

PageUp: Fn+UP

PageDown: Fn+DOWN

Successfully tested on my brand new MBPro retina !

0

Mac OS Catalina:


Scroll to the page-top - cmd+

Scroll to the page-bottom - cmd+


PageUp - fn +

PageDown - fn +

1
  • Interesting that Start+ArrowUp/Down works with and external (Windows-tailored )keyboard.
    – Huge
    Commented Mar 1, 2021 at 15:32
-1

user Fn

PageUp: Fn+UP PageDown: Fn+DOWN

1
-1

Alt + up/down arrows: pgup/pgdown

Spacebar and shift + spacebar: : pgup/pgdown

Command + up/down arrows: home/end

3
  • What do you mean by Spacebar and shift + spacebar: : pgup/pgdown ? Commented Dec 29, 2020 at 23:44
  • That one goes down and the other combination goes up.
    – Federico
    Commented Dec 31, 2020 at 0:19
  • No idea what you mean here since spacebar .. enters a space and shift-spacebar .. enters a space. Commented Dec 31, 2020 at 0:38

You must log in to answer this question.

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