I would like to remap ⇞, ⇟, ↖ and ↘ to work like on PC. This means: go to end of line / beginning of line or to end of document / beginning of document if pressed together with control. And the page up/down which is already kind of working should move the cursor like it does on PC.

I've gotten used to ⌃←/→ but still I switch between PC and Mac continously and would like to have the convience of those keys.

Is there a mapping file?

link|improve this question
feedback

3 Answers

up vote 0 down vote accepted

I've used DoubleCommand to remap keys successfully on Mac OS X 10.6 Snow Leopard on a MacBook Pro.

I remapped the lower-right Option key to become a Ctrl key (I'm an emacs user, and not having Ctrl keys on both sides is a serious pain).

link|improve this answer
Works fine but it does not allow remapping PgUp/PgDown to work like on the PC. Home/End are fine. Unfortunately if you use MS RDP and connect to Windows, neither the remapped Home/End keys work, nor the CMD+Arrow Right/Left. – Krumelur Jan 24 '11 at 9:07
feedback

There are a few other options as well:

http://pqrs.org/macosx/keyremap4macbook/ (which despite its name, works on all mac keyboards)

http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele (this is more for remapping keyboards for multilingual purposes, but it might still suit you)

link|improve this answer
Have you actually checked to see if it's possible? – Daniel Beck Jan 24 '11 at 6:09
feedback

Custom text editing shortcuts can be defined at ~/Library/KeyBindings/DefaultKeyBinding.dict:

{
    "\UF729"  = moveToBeginningOfLine:;
    "\UF72B"  = moveToEndOfLine:;
    "$\UF729" = moveToBeginningOfLineAndModifySelection:;
    "$\UF72B" = moveToEndOfLineAndModifySelection:;
    "@\UF729"  = moveToBeginningOfDocument:;
    "@\UF72B"  = moveToEndOfDocument:;
    "\UF72C"  = pageUp:; // OS X default is scrollPageUp: (doesn't move the caret)
    "\UF72D"  = pageDown:;
    "$\UF72C"  = pageUpAndModifySelection:;
    "$\UF72D"  = pageDownAndModifySelection:;
}

@ = ⌘, $ = ⇧, \UF72C = ⇞, \UF72D = ⇟, \UF729 = ↖ , \UF72B = ↘

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.