From 7d72bfab3927cfbbd56de35ccde88df5051b2f6a Mon Sep 17 00:00:00 2001 From: An Nguyen Date: Wed, 7 Feb 2024 12:37:00 -0600 Subject: [PATCH] Escape key should close the autocomplete before switching to normal mode --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ab046d93..81646ed9 100644 --- a/package.json +++ b/package.json @@ -3281,7 +3281,7 @@ }, { "key": "Escape", - "when": "editorTextFocus && dance.mode == 'insert'", + "when": "editorTextFocus && dance.mode == 'insert' && !suggestWidgetVisible", "title": "Set mode to Normal", "command": "dance.modes.set.normal" },