-
Go to this folder which contains dark side of the force:
- Xcode 4.2 or prior:
/Developer/Library/PrivateFrameworks/IDEKit.framework/Resources
- Xcode 4.3 or later:
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources
.
- Xcode 4.2 or prior:
-
Open
IDETextKeyBindingSet.plist
. -
Add a new dictionary and a new command item as the screenshot below (name them what you want):
That’s:
selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:
-
Restart Xcode and go to Preferences – Key Bindings, search for your command.
-
Set a key combination for the command:
-
Finally unleashed the power of key bindings on Xcode… Enjoy it!