From c415ae53f35fb8202f904871ce24d521a5eedbc7 Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Wed, 29 Jun 2022 23:05:23 +0200 Subject: [PATCH] Add magit refresh command --- keybindings.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/keybindings.json b/keybindings.json index 6011fca..dd817c5 100644 --- a/keybindings.json +++ b/keybindings.json @@ -286,6 +286,11 @@ "when": "textCompareEditorVisible" }, // Magit + { + "key": "g r", + "command": "magit.refresh", + "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/" + }, { "key": "tab", "command": "extension.vim_tab",