Skip to content

Instantly share code, notes, and snippets.

@yaoxinghuo
Forked from gdavis/gist:2829437
Last active December 23, 2015 09:59
Show Gist options
  • Save yaoxinghuo/6618757 to your computer and use it in GitHub Desktop.
Save yaoxinghuo/6618757 to your computer and use it in GitHub Desktop.
XCode 改成和 Eclipse 类似的快捷键 Command+D Delete Current Line Duplicate Current Line Alt+Command+Down Show Completions Alt+/
<!--Location: /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/IDETextKeyBindingSet.plist
-->
<key>GDI Commands</key>
<dict>
<key>GDI Duplicate Current Line</key>
<string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string>
<key>GDI Delete Current Line</key>
<string>moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToBeginningOfLine:</string>
<key>GDI Move Current Line Up</key>
<string>selectLine:, cut:, moveUp:, moveToBeginningOfLine:, insertNewLine:, paste:, moveBackward:</string>
<key>GDI Move Current Line Down</key>
<string>selectLine:, cut:, moveDown:, moveToBeginningOfLine:, insertNewLine:, paste:, moveBackward:</string>
<key>GDI Insert Line Above</key>
<string>moveUp:, moveToEndOfLine:, insertNewline:</string>
<key>GDI Insert Line Below</key>
<string>moveToEndOfLine:, insertNewline:</string>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment