Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add editor scope to keyboard shortcut scope select #4154

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Conversation

knolleary
Copy link
Member

Fixes #4140

The keyboard shortcut dialog doesn't provide all of the available 'scopes' when setting custom keyboard shortcuts.

This makes it impossible to add a shortcut scoped to just the edit dialog - something that can be done via keymap.json as it can specify any scope it wants.

This PR adds 'edit dialog' as an option when setting the shortcut scope:

image

This then allows 'escape' to be set as the shortcut for closing the tray, without it clashing with the existing predefined escape handler for clearing the selection within the workspace.

@knolleary knolleary merged commit 67dd7e3 into master Apr 28, 2023
3 checks passed
@knolleary knolleary deleted the add-editor-scope branch April 28, 2023 17:47
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.

Escape key doesn't work as a shortcut for the "Cancel Edit Tray" function
1 participant