From 726f23e86778c5350a9861a553c0354a14f68d03 Mon Sep 17 00:00:00 2001 From: xzbdmw <97848247+xzbdmw@users.noreply.github.com> Date: Mon, 3 Jun 2024 23:23:29 +0800 Subject: [PATCH] Add !vimwaiting to togglecomment (#12552) Release Notes: -Fixed #12483 It turns out to be very simple. `fg` has conflict with `gc` mapping so when you type g editor state is pending. --- assets/keymaps/vim.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json index 045beffece..bd092752e6 100644 --- a/assets/keymaps/vim.json +++ b/assets/keymaps/vim.json @@ -568,7 +568,7 @@ } }, { - "context": "Editor && vim_mode == normal", + "context": "Editor && vim_mode == normal && !VimWaiting", "bindings": { "g c c": "editor::ToggleComments" }