Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Add customizable keybind for closing modals#142

Open
ian-h-chamberlain wants to merge 1 commit intoArchGPT:mainfrom
ian-h-chamberlain:fix/customize-modal-keybind
Open

Add customizable keybind for closing modals#142
ian-h-chamberlain wants to merge 1 commit intoArchGPT:mainfrom
ian-h-chamberlain:fix/customize-modal-keybind

Conversation

@ian-h-chamberlain
Copy link
Copy Markdown

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.

1 participant