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
Recommended way to disable a key sequence? #297
Comments
Nice tip. It might be too much for many users to see the entire context of this in README, but I think it's nice to mention |
Yes, after we reach an agreement here. One concern: As per this comment in the Linux kernel repo,
From https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf:
So, wouldn't it be better if I'm don't know and can only guess how Intercepting from |
That makes sense. I'd be open to merging a pull request that implements the |
It's probably worth mentioning the answer to this question in the README.
Note:
I'm currently achieving this by using the reserved key.
The use case is to learn a new keymap faster when the key you want to disable should not be used for anything. For example:
I want to start using
C-l
to close a google chrome tab, I don't want to use useC-w
for anything, and currently, I'm usingC-w
to close a google chrome tab (this a google chrome default and cannot be disabled). I can doThis way,
C-w
will start not doing anything which will help me break the habit of using it to close tabs.Q: Why not use two keybinds to do the same thing?
A: Spreading your habit among multiple keybinds weakens the muscle memory for any single keybind. Further, it makes the event that one of the keybinds is changed into some other command in the future easier to learn. More abstractly, one thing is generally simpler than multiple.
The text was updated successfully, but these errors were encountered: