xcode快捷键
<key>sfce Commands</key> <dict> <key>sfce Duplicate Current Line</key> <string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string> <key>sfce Delete Current Line</key> <string>moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToEndOfLine:</string> <key>sfce Move Current Line Up</key> <string>selectLine:, cut:, moveUp:, moveToBeginningOfLine:, insertNewLine:, paste:, moveBackward:</string> <key>sfce Move Current Line Down</key> <string>selectLine:, cut:, moveDown:, moveToBeginningOfLine:, insertNewLine:, paste:, moveBackward:</string> <key>sfce Insert Line Above</key> <string>moveUp:, moveToEndOfLine:, insertNewline:</string> <key>sfce Insert Line Below</key> <string>moveToEndOfLine:, insertNewline:</string> </dict>
将以上代码放入/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/IDETextKeyBindingSet.plist文件
的最后的这两行之前:
</dict>
</plist>