jad/xcode4-key-bindings — pull request #1 by atommclain (2011-11-04 12:04:42+00:00)
Title: Example of multi-action keybindings in Xcode

After about 10 hours of working on this problem, this is what I've come up with. I hope you are able to take the torch and run with it.

Take a look at /Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/PBXBindableTextActions.plist which appears to be a list of all text actions that available for keyboard binding.

It is possible to bind more than one action to a particular key, Xcode even does this with the "Insert New Line and Leave Section Before It" text binding, however it appears that they filter any user bindings against the read only system wide bindings, StandardKeyboardBinding.dict in /System/Library/Frameworks/AppKit.framework/Resources . Presumably editing this file with custom bindings would enable their use in Xcode.