Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

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