From c5ff2bd965a3f8b8d3f3d6b4b73ba28d4d32bc1e Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 8 Oct 2020 12:00:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'keybindings=5Fmac.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keybindings_mac.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/keybindings_mac.json b/keybindings_mac.json index 778a15a..3b92ae9 100644 --- a/keybindings_mac.json +++ b/keybindings_mac.json @@ -379,9 +379,14 @@ "key": "cmd+shift+w", "command": "workbench.action.quickSwitchWindow" }, - { + { "key": "cmd+shift+k", "command": "-editor.action.deleteLines", "when": "textInputFocus && !editorReadonly" - } + }, + { + "key": "shift+cmd+;", + "command": "editor.action.formatDocument", + "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" + }, ]