Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Add customizable keybind for closing modals #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ian-h-chamberlain
Copy link

Ref #128
Original upstream issue Kong/insomnia#4877

Adds a customizable shortcut for closing modal windows, which was previously hardcoded to Escape. This allows users with Vim keybindings to rebind it to something else, particularly for Environment editor, since Escape is used to exit insert mode with Vim keybindings.

There are a couple other places that had 'Escape' hardcoded for some kind of keydown event, but it seems mostly harmless — AFAIK this was the biggest painful hardcoded shortcut.

Fixes Kong/insomnia#4877

There are a couple other places that had 'Escape' hardcoded for some
kind of keydown event, but it seems mostly harmless - AFAIK this was the
biggest painful hardcoded shortcut.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant