lampShade
lampShade

Reputation: 4391

How can I reset Xcode 4 keyboard shortcuts?

How can I reset Xcode 4 keyboard shortcuts to the default values? Thanks.

Upvotes: 5

Views: 1988

Answers (1)

onteria_
onteria_

Reputation: 70557

mv ~/Library/Developer/Xcode/UserData/KeyBindings/Default.idekeybindings ~/

This will make a backup copy just in case. Then start XCode, view the Keybinding preferences, and restart XCode. This will create a blank default Default.idekeybindings file.

Edit: As per the comment response, first Quit XCode. Then if you want to reset a particular binding, you'll have to edit the ~/Library/Developer/Xcode/UserData/KeyBindings/Default.idekeybindings File and remove the <key></key> element that has the keycode that was overridden, and the <string></string> element that comes after it.

Upvotes: 7

Related Questions