xcode 10 复制一行
sudo chmod 666 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist
sudo chmod 777 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/
open /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist
复制一行
在Insertions and Indentations下面增加:Duplicate Current Line,String类型 值为:
##失效
selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:
##有效
moveToBeginningOfLine:, deleteToEndOfLine:, yank:, insertNewline:, moveToBeginningOfLine:, yank:
删除一行
在Deletions下面增加:“Delete Current Line” String类型值:
deleteToBeginningOfLine:, moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToBeginningOfLine: