Add magit refresh command

This commit is contained in:
Wilfried OLLIVIER 2022-06-29 23:05:23 +02:00
parent 5e928920d4
commit c415ae53f3

View file

@ -286,6 +286,11 @@
"when": "textCompareEditorVisible" "when": "textCompareEditorVisible"
}, },
// Magit // Magit
{
"key": "g r",
"command": "magit.refresh",
"when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/"
},
{ {
"key": "tab", "key": "tab",
"command": "extension.vim_tab", "command": "extension.vim_tab",