From de8c951305c9a73e90fadde1d649c44d83db1d8b Mon Sep 17 00:00:00 2001 From: lianghongkey Date: Sat, 17 Aug 2019 23:34:43 +0800 Subject: [PATCH] Update keybindings.json --- keybindings.json | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/keybindings.json b/keybindings.json index 99aa557..856dffc 100644 --- a/keybindings.json +++ b/keybindings.json @@ -160,12 +160,14 @@ "when": "terminalFocus" }, { - "key": "cmd+shift+t", - "command": "workbench.action.terminal.newInActiveWorkspace" + "key": "cmd+t", + "command": "workbench.action.terminal.newInActiveWorkspace", + "when": "terminalFocus" }, { - "key": "cmd+shift+w", - "command": "workbench.action.terminal.kill" + "key": "cmd+w", + "command": "workbench.action.terminal.kill", + "when": "terminalFocus" }, { "key": "cmd+shift+]", @@ -227,7 +229,7 @@ { "key": "cmd+t", "command": "workbench.action.debug.stop", - "when": "inDebugMode" + "when": "inDebugMode && !terminalFocus" }, { "key": "cmd+r", @@ -244,4 +246,9 @@ "command": "editor.debug.action.toggleBreakpoint", "when": "editorTextFocus" }, + { + "key": "shift+cmd+t", + "command": "workbench.action.debug.restart", + "when": "inDebugMode" + }, ]