Apple Keyboard bindings

by: dermdaly

Got an Apple Keyboard™? Disgruntled with the way the PageUp/PageDown/Home/End buttons only move the screen and not the cursor? Well, gruntle no more with this handy tip! (Windows users can feel smug in the knowledge that their keyboards have always had this functionality*.)

In ~/Library/, create a directory called KeyBindings. In this directory, create a file called DefaultKeyBinding.dict, and enter the following bit of crunchy magic goodness:

"UF729" = ("moveToBeginningOfDocument:","setMark:"); 
"UF72B" = ("moveToEndOfDocument:","setMark:");
"UF72C" = ("pageUp:","setMark:"); 
"UF72D" = ("pageDown:","setMark:");

Restart any Cocoa application that that uses Cocoa Text System, and the new keybinding will take effect in that application, as if by magic!

CAVEAT: XCode overrides the default text keyboard bindings, so you’ll need to update the keyboard bindings manually.

Goto Preferences / KeyBindings / Text Key Bindings, and update the following actions with the relevant keystrokes:

Mode to Beginning of Document: ↖
Mode to End of Document: ↘
Page Down: ↡
Page Up: ↟

Now, you have a wonderful keyboard with really actually usable and useful navigation keys!

* Shame about the rest of the Windows user experience, haha.

You May Also Like

How apps are playing their part in COVID-19

How apps are playing their part in COVID-19

Technology is playing an increasingly important role during the COVID-19 pandemic. Not only is it playing its part in connecting us, it's providing us with platforms to work, learn and interact with one another as we navigate our new norm of working remotely. An now...

read more
Creating the Perfect App – Guaranteeing Success

Creating the Perfect App – Guaranteeing Success

So, your app idea has passed all tests and you have found a way to finance its development. Now its time to guarantee its success. Finding a developer Finding the right developer to build your app plays an important role in its success. Picking a development company...

read more



  1. Tweets that mention Apple Keyboard bindings | tapadoo -- - [...] This post was mentioned on Twitter by Dermot Daly, liam dunne. liam dunne said: @dermdaly @ashleymills Apple KeyBoard mappings:…

Submit a Comment

Your email address will not be published. Required fields are marked *