xcode添加复制当前行
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/IDETextKeyBindingSet.plist添加
<key>Sublime Commands</key><dict><key>Cut Current Line</key><string>selectLine:, cut:</string><key>Copy Current Line</key><string>selectLine:, copy:</string><key>Duplicate Current Line</key><string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string><key>Delete Current Line In One Hit</key><string>moveToEndOfLine:, deleteToBeginningOfLine:, deleteToEndOfParagraph:</string></dict>
xcode->Preferences->Key Bindings