Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a standard PS2 keyboard on my PC running Mac in a VM. When I try shift + the arrow keys on the number pad, I just get the numbers typed in. However I want it to work the same as on my Windows box. How do I map the arrow keys to highlight using the arrow keys 4,8,2,6 ?

It was easy to get it working on the Linux box, Mint map number keys to higlight text

share|improve this question

1 Answer 1

up vote 1 down vote accepted

One option would be to create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict:

{
    "$#2" = moveDownAndModifySelection:;
    "$#4" = moveLeftAndModifySelection:;
    "$#6" = moveRightAndModifySelection:;
    "$#8" = moveUpAndModifySelection:;
}

The custom keybindings don't work in all applications or views though. Remapping keys with KeyRemap4MacBook usually works almost everywhere.

share|improve this answer
    
The KeyRemap4MacBook seems to work for the most part in xCode –  orn Jul 24 '12 at 3:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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