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

feat: alias Ctrl to Control when parsing keybindings #338

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

JK-Flip-Flop96
Copy link
Contributor

Tiny PR here.

I grabbed some low-hanging fruit from the "Free to take" list. https://github.com/users/lars-berger/projects/2/views/1?pane=issue&itemId=28116872

I chose to implement this with a switch so that more keybinding aliasing could be done quickly in future (e.g. Meta -> Alt)

Ignore the completely overwritten first commit, I decided as I was drafting this PR that it'd be better to check against the Enum first before moving on to the switch so there's not a whole bunch of unnecessary comparisons.

@lars-berger lars-berger merged commit 7b4679e into glzr-io:master Jul 23, 2023
@lars-berger lars-berger changed the title feat: alias Ctrl to Control feat: alias Ctrl to Control when parsing keybindings Jul 23, 2023
@lars-berger
Copy link
Member

Thank you for this 🙏

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.

2 participants