Skip to content

Instantly share code, notes, and snippets.

@taksatou
Created July 12, 2012 02:49
Show Gist options
  • Save taksatou/3095366 to your computer and use it in GitHub Desktop.
Save taksatou/3095366 to your computer and use it in GitHub Desktop.
more emacs like keybindings for xcode 4.3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Menu Key Bindings</key>
<dict>
<key>Key Bindings</key>
<array>
<dict>
<key>Action</key>
<string>saveAllEditorDocuments:</string>
<key>Alternate</key>
<string>YES</string>
<key>CommandID</key>
<string>Xcode.IDEKit.CmdDefinition.SaveAll</string>
<key>Group</key>
<string>File Menu</string>
<key>GroupID</key>
<string>Xcode.IDEKit.MenuDefinition.Main</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Keyboard Shortcut</key>
<string>s</string>
<key>Navigation</key>
<string>NO</string>
<key>Title</key>
<string>Save All</string>
</dict>
<dict>
<key>Action</key>
<string>showInspectorWithChoiceFromSender:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandID</key>
<string>Xcode.InterfaceBuilderKit.InspectorCategory.Effects</string>
<key>Group</key>
<string>View Menu</string>
<key>GroupID</key>
<string>Xcode.IDEKit.MenuDefinition.Utilities</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Navigation</key>
<string>NO</string>
<key>Parent Title</key>
<string>Utilities</string>
<key>Title</key>
<string>Show View Effects Inspector</string>
</dict>
<dict>
<key>Action</key>
<string>selectNextPlaceholder:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandID</key>
<string>Xcode.IDESourceEditor.CmdDefinition.JumpToNextPlaceholder</string>
<key>Group</key>
<string>Navigate Menu for Source Code</string>
<key>GroupID</key>
<string>Xcode.IDESourceEditor.MenuDefinition.Navigate</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Navigation</key>
<string>NO</string>
<key>Title</key>
<string>Jump to Next Placeholder</string>
</dict>
<dict>
<key>Action</key>
<string>menuCmd_showErrorsOnly:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandID</key>
<string>Xcode.IDELogNavigator.CmdDefinition.ShowErrorsOnly</string>
<key>Group</key>
<string>Editor Menu for Log</string>
<key>GroupID</key>
<string>Xcode.IDELogNavigator.MenuDefinition.LogEditor</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Keyboard Shortcut</key>
<string></string>
<key>Navigation</key>
<string>NO</string>
<key>Title</key>
<string>Show Errors Only</string>
</dict>
<dict>
<key>Action</key>
<string>complete:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandID</key>
<string>Xcode.IDESourceEditor.CmdDefinition.ShowHideCompletions</string>
<key>Group</key>
<string>Editor Menu for Source Code</string>
<key>GroupID</key>
<string>Xcode.IDESourceEditor.MenuDefinition.Editor</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Keyboard Shortcut</key>
<string></string>
<key>Navigation</key>
<string>NO</string>
<key>Title</key>
<string>Show Completions</string>
</dict>
<dict>
<key>Action</key>
<string>stepOverInstruction:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandGroupID</key>
<string>Xcode.IDEKit.CmdDefinition.StepOverInstruction</string>
<key>CommandID</key>
<string>Xcode.IDEKit.CmdDefinition.StepOverInstruction</string>
<key>Group</key>
<string>Product Menu</string>
<key>GroupID</key>
<string>Xcode.IDEKit.MenuDefinition.Main</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Navigation</key>
<string>NO</string>
<key>Parent Title</key>
<string>Debug</string>
<key>Title</key>
<string>Step Over Instruction</string>
</dict>
<dict>
<key>Action</key>
<string>stepIntoInstruction:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandID</key>
<string>Xcode.IDEKit.CmdDefinition.StepIntoInstruction</string>
<key>Group</key>
<string>Product Menu</string>
<key>GroupID</key>
<string>Xcode.IDEKit.MenuDefinition.Main</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Navigation</key>
<string>NO</string>
<key>Parent Title</key>
<string>Debug</string>
<key>Title</key>
<string>Step Into Instruction</string>
</dict>
<dict>
<key>Action</key>
<string>stepToPreviousCall:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandID</key>
<string>Xcode.GPUToolsKit.CmdDefinition.StepPreviousCall</string>
<key>Group</key>
<string>Debug Menu for OpenGL ES</string>
<key>GroupID</key>
<string>Xcode.GPUToolsKit.MenuDefinition.Debug</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Navigation</key>
<string>NO</string>
<key>Title</key>
<string>Step to Previous OpenGL ES Call</string>
</dict>
<dict>
<key>Action</key>
<string>stepToNextCall:</string>
<key>Alternate</key>
<string>NO</string>
<key>CommandGroupID</key>
<string>Xcode.IDEKit.CmdDefinition.StepOverInstruction</string>
<key>CommandID</key>
<string>Xcode.GPUToolsKit.CmdDefinition.StepNextCall</string>
<key>Group</key>
<string>Debug Menu for OpenGL ES</string>
<key>GroupID</key>
<string>Xcode.GPUToolsKit.MenuDefinition.Debug</string>
<key>GroupedAlternate</key>
<string>NO</string>
<key>Navigation</key>
<string>NO</string>
<key>Title</key>
<string>Step to Next OpenGL ES Call</string>
</dict>
</array>
<key>Version</key>
<integer>3</integer>
</dict>
<key>Text Key Bindings</key>
<dict>
<key>Key Bindings</key>
<dict>
<key></key>
<array>
<string>swapWithMark:</string>
<string>scrollPageUp:</string>
<string>scrollPageDown:</string>
<string>insertTab:</string>
<string>cancelOperation:</string>
<string>complete:</string>
</array>
<key> </key>
<string>indent:</string>
<key></key>
<string>setMark:</string>
<key>@</key>
<string>moveToBeginningOfDocument:</string>
<key>@</key>
<string>moveToEndOfDocument:</string>
<key>^/</key>
<string>undo:</string>
<key>^\ </key>
<string>setMark:</string>
<key>^j</key>
<string>insertNewline:</string>
<key>^r</key>
<string>replace:</string>
<key>^s</key>
<string>findNext:</string>
<key>^x</key>
<dict>
<key>^s</key>
<string>setMark:</string>
</dict>
<key>~&lt;</key>
<string>moveToBeginningOfDocument:</string>
<key>~&gt;</key>
<string>moveToEndOfDocument:</string>
<key>~b</key>
<string>moveSubWordBackward:</string>
<key>~c</key>
<string>capitalizeWord:</string>
<key>~f</key>
<string>moveSubWordForward:</string>
<key>~l</key>
<string>lowercaseWord:</string>
<key>~v</key>
<string>pageUp:</string>
<key>~w</key>
<string>selectToMark:</string>
<key>~</key>
<string>pageUp:</string>
</dict>
<key>Version</key>
<integer>3</integer>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment