2

I like using ctrl + v on mac for jumping with the cursor to the next screen - something like page down but the cursor moves too.

Do you know any way to do the opposite - jumping to the previous screen - like page up but also with the cursor moving?

I'd love a universal solution - i.e. working in all text boxes.

UPDATE: I've refreshed my mind that there's a key binding in terminals that does exactly what I want and that's meta + v but that doesn't work in all Cocoa text boxes as ctrl + v does.

  • Maybe ctrl+^ ? – mouviciel Aug 30 '13 at 15:49
  • You many want to rephrase your question to specify which app to which you are referring. I can infer you are speaking about emacs, but others may not. – Dave Aug 30 '13 at 16:11
  • @Dave Thanks, I edited that, I was thinking of an all-around solution that would work in all Cocoa-based text boxes. In terminal I'd use meta + v as suggested in one answer. – user2626382 Aug 30 '13 at 16:54
  • @mouviciel I tried that, and it doesn't seem to work. Is it supposed to work only in Terminal or in all text boxes? – user2626382 Aug 30 '13 at 16:55
0

⌥⇞ and ⌥⇟ (option-page up and option-page up) also move the caret, like ⌃V.

You can make ⌥V scroll a page up and move the caret by saving a property list like this as ~/Library/KeyBindings/DefaultKeyBinding.dict:

{
  "~v" = pageUp:;
}

It is also possible to make the page up and page down keys move the caret:

{
  "\UF72C" = pageUp:;
  "\UF72D" = pageDown:;
}

The pageUp: and pageDown: methods don't do anything in web views (including Safari) or in Numbers though.

See http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html or http://lri.me/keybindings.html for more information.

You can also use KeyRemap4MacBook to remap ⌥V to ⇞, or ⇞ and ⇟ to ⌥⇞ and ⌥⇟. See this question.

  • Thanks! I had tried that before but I thought it didn't work in 10.8. I think ⌥ + ⇞ and ⌥ + ⇟ is acceptable. It works for me in Pages. And I was after moving the caret actually. – user2626382 Aug 31 '13 at 9:21
  • Okay, now ⌥ + V does scroll the page up, but I had to change layout from U.S. Extended to just U.S. – user2626382 Aug 31 '13 at 10:04
1

The Emacs command for page up is Meta-v. Unfortunately, Cocoa only seems to implement the Control-key commands, not commands with Meta. (Alt is used for special or international characters. Alt-v gives me a square root key on my keyboard layout.)

  • 1
    Meta on OSX is Esc by default. Esc+v works. – Matthieu Riegler Aug 30 '13 at 16:22
  • meta+v works only in terminal for me (esc+v or opt+v). – user2626382 Aug 30 '13 at 16:33

You must log in to answer this question.

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