From 85ff1c01b9de2b5b3d5cff213dd5588eac85cc88 Mon Sep 17 00:00:00 2001 From: George Garside Date: Sun, 14 Apr 2024 15:47:16 +0100 Subject: [PATCH] Support q to exit blame Fixes #263 --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index e552fa1..ee1be8b 100644 --- a/package.json +++ b/package.json @@ -735,6 +735,11 @@ "command": "magit.clear-and-abort-editor", "key": "ctrl+c ctrl+k", "when": "editorTextFocus && editorLangId == git-rebase" + }, + { + "command": "workbench.action.closeActiveEditor", + "key": "q", + "when": "editorTextFocus && resourceScheme == 'magit' && resourcePath =~ /^Blame\\.magit@/" } ] },