From 0059d0dd161707f179c8dd6f6e06549ecba01331 Mon Sep 17 00:00:00 2001 From: Paolo Cerutti <100514524+PolCeru@users.noreply.github.com> Date: Sat, 16 Aug 2025 12:37:04 +0200 Subject: [PATCH] prevent Shift+N from creating new folder while typing Updated the condition to: `explorerViewletFocus && !inputFocus` This ensures the shortcut only works when the explorer viewlet is focused and no input box is active, preventing accidental folder creation while typing. --- keybindings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keybindings.json b/keybindings.json index 635b0c3..3b36d34 100644 --- a/keybindings.json +++ b/keybindings.json @@ -48,7 +48,7 @@ { "key": "shift+n", "command": "explorer.newFolder", - "when": "explorerViewletFocus" + "when": "explorerViewletFocus && !inputFocus" }, { "key": "shift+n",