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

Disallow Unwanted Jump Labels #11893

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

Conversation

Talia-12
Copy link

@Talia-12 Talia-12 commented Oct 15, 2024

This is a new option solving the same problem I was trying to solve in #11884 of the labels generated by the jump label system often being difficult to type. The solution implemented by this PR for the problem is a new option called jump-label-follow-blacklist. The option can be set to any map of letters to lists of letters that shouldn't follow it in the jump label.

For example, with a QWERTY keyboard labels like "az" and "aq" are more awkward to type since they require the same finger to hit both keys. With this PR, blocking those labels from showing up would be done by setting jump-label-follow-blacklist: { a: "zq" }, making it so that a can't be followed by z or q.

This is as configurable as a feature like this can possibly be, I think fairly ergonomic to use (easier to list keys that shouldn't go together than all the keys that should), and means no changes in configuration for people who don't want to use it, since previous configs will still parse and have the exact same functionality as they used to; it's a purely opt in feature.

…in key combinations from the possible jump labels.
@Talia-12 Talia-12 changed the title Add Jump Label Follow Blacklist Disallow Unwanted Jump Labels Oct 16, 2024
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