• 给Xcode增加复制行、删除行快捷键的方法


    运行:

    sudo chmod 666 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist

    然后打开/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist,在Deletions下面增加:Delete Current Line,值为:

    deleteToBeginningOfLine:, moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToBeginningOfLine:

    在Insertions and Indentations下面增加:Duplicate Current Line,值为:

    selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:

    然后重启Xcode,打开设置,Key Bindings,找到“Delete Current Line”和”Duplicate Current Line”这两项,设置为自己想要的快捷键。

  • 相关阅读:
    CISCO一些基本配置
    每日学习
    每日学习(个人作业2)
    每日学习
    团队冲刺第十四天
    每日学习
    团队冲刺第十三天
    每日学习
    团队冲刺第十二天
    2021.5.26
  • 原文地址:https://www.cnblogs.com/code4app/p/5131303.html
Copyright © 2020-2023  润新知