Extensions: Xcode Keymap

// Place your key bindings in this file to override the defaults
[
{
"key": "cmd+1",
"command": "workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "cmd+k e",
"command": "-workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "cmd+1",
"command": "workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "cmd+3",
"command": "workbench.scm.focus"
},
{
"key": "cmd+3",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "cmd+2",
"command": "workbench.view.extension.references-view"
},
{
"key": "cmd+r",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "cmd+l",
"command": "workbench.action.gotoLine",
"when": "editorTextFocus"
},
{
"key": "cmd+.",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "shift+f5",
"command": "-workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
}
]
Step 1: 打开 Keyboard Shortcuts 界面
cmd k + cmd s
Step 2: 打开 Keybindings.json 界面

点击右上角按钮,打开Keybindings.json
Step3: 更新 Keybindings.json 内容
复制粘贴上面的内容到json文件