-
Notifications
You must be signed in to change notification settings - Fork 191
Capslock as escape doesn't work 'properly' in Neovim/Helix etc. #938
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
Comments
Can you show an example output of Overloading can be tricky --- if you type so fast that the capslock's keyup has not occurred before the next key's keydown, keyd disambiguates it to a |
This is what I am getting while running And you are probably right, this usually happens while I am writing long pieces of text inside neovim and have to press capslock suddenly in the middle of the writing session. I do not know how to use overloadt, overloadt2 etc. Is there any example which can help? |
I have same problem. I don't think it was like this before. I checked in monitor and pressing caps results in :
Is this intended? And, keyd changes both left ctrl and right control to left control. |
@codeRSH You need to run it using sudo.
You are probably unconsciously pressing another key before the capslock up event. You can verify this with Try
Yes, this is by design. It allows you to do things like control click with unmanaged mice. It shouldn't be an issue in practice since most applications don't do anything when control is tapped (if they do, you need to use one of the time based overload options).
Can you elaborate? Which version behaves differently? Annotated |
@rvaiya It is working properly in Neovim. Not so sure whether it was my problem or sth. I should have properly checked it with keyd monitor but I had attributed it to extra left control press back then. |
First thank you for this fantastic piece of software. Also I apologize if this has already been addressed before. I searched but couldn't find an exact solution.
My keyd config.
My issues
Capslock overloading doesn't work properly. I haven't faced any issues while using Capslock as control, but using Capslock as Escape inside editors like Neovim have been a hit and a miss affair.
I sometimes have to press Capslock multiple times for it to detect as an 'escape' key. But other times it detects it in only one keypress.
I have checked this in multiple Terminal (Gnome's stock terminal, Konsole, Wezterm etc.). and multiple editors (like Neovim and Helix) and also within multiple desktop environments (Gnome and KDE).
I am running Fedora 41.
The text was updated successfully, but these errors were encountered: