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: simplify keybindings #1241

Merged
merged 1 commit into from
Jul 1, 2024
Merged

feat: simplify keybindings #1241

merged 1 commit into from
Jul 1, 2024

Conversation

sxyazi
Copy link
Owner

@sxyazi sxyazi commented Jul 1, 2024

This PR allows using a string to specify a single key, instead of requiring an array.

This lets users write

{ on = "o", run = "open" }

instead of

{ on = [ "o" ], run = "open" }

@sxyazi sxyazi merged commit 862e7e5 into main Jul 1, 2024
6 checks passed
@sxyazi sxyazi deleted the pr-870e7087 branch July 1, 2024 14:38
sxyazi added a commit that referenced this pull request Jul 1, 2024
sxyazi added a commit that referenced this pull request Jul 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2024
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