Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add aborted bindings to the did-match-binding event #227

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lee-dohm
Copy link
Contributor

Description of the Change

Why keybindings act the way that they do is sometimes a mystery to Atom users. One of the ways that isn't surfaced well is when one keybinding is aborted and another is executed in its place. This change adds a list of aborted bindings to the onDidMatchBinding event so they can be surfaced in the keybinding-resolver package.

Alternate Designs

None considered.

Benefits

People will be able to debug their keybindings better.

Possible Drawbacks

The difference between the abort! command name and the e.abortKeyBinding function is also not well understood. This change may confuse some Atom users by making that difference more visible.

Applicable Issues

N/A

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