Skip to content

prevent Shift+N from creating new folder while typing#9

Open
PolCeru wants to merge 1 commit intoMelkeydev:mainfrom
PolCeru:patch-1
Open

prevent Shift+N from creating new folder while typing#9
PolCeru wants to merge 1 commit intoMelkeydev:mainfrom
PolCeru:patch-1

Conversation

@PolCeru
Copy link

@PolCeru PolCeru commented Aug 16, 2025

This PR updates the keybinding for explorer.newFolder so that it does not trigger while an input field is focused.

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant