Customizing Keyboard Shortcuts

    Steps
  1. In the Key Bindings preferences pane, choose a command set to edit.

  2. Locate the command for which you want to change the shortcut.

  3. Double-click a key sequence to select it.

  4. Type a new key sequence to replace the selected one.

  5. Click elsewhere in the detail area to apply your change.



image: ../art/Customizing_button.png

Customize the keyboard shortcut for a command by editing its key sequence in the Key Bindings preferences pane.

To edit the key binding for a command, double-click its key field, and then:

Specify a key sequence by typing it just as you would type it to use it; for example, to specify ^A, hold down the Control key and type the letter a.

A specific key sequence can be bound to only one command; if you enter one that is already assigned to another command, Xcode removes it from that other command.

The video shows adding the key sequence Control-Option–Right Arrow as a shortcut for the Move Expression Right command.

For detailed information about key bindings, see “Text System Defaults and Key Bindings” in Cocoa Event-Handling Guide.