-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: #2719 Shortcuts Ctrl + Shift + 1 and Ctrl + Shift + 2 aren't wor… #2720
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
Conversation
…aren't working.
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. |
Great catch on the problem! 🧤
I wonder if there's a better way to handle this which doesn't involve manual mapping. Like if there is a property other than
I also want to look into how CodeMirror handles their keymaps, and maybe we can copy something from their source code. |
Great idea @lindapaiste e.code works well, I have pushed the changes. |
Hey, @lindapaiste could you please review the changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work on this!
…king.
Fixes #2719
Changes:
Added a mapping for '!' -> 1, '@' -> 2, because due to the shift key Ctrl + Shift + 1 was being registered as Ctrl + Shift + !, which wasn't triggering the event.
I have verified that this pull request:
npm run lint
)npm run test
)develop
branch.Fixes #123
Untitled.video.-.Made.with.Clipchamp.2.mp4