xcode 跳转到新行设置快捷键

 

1、找到/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/IDETextKeyBindingSet.plist

2、复制出来,用编辑器打开,在里面找到Insertions and Indentations

然后在里面添加

key:Insert Line Below

value:moveToEndOfLine:, insertNewline:

4、将修改后的文件拖回原目录替换

3、然后重启xode,在设置中对新添加的key添加快捷键

 

原文地址:https://www.cnblogs.com/Zhanxueyou/p/15813009.html