-
-
Notifications
You must be signed in to change notification settings - Fork 972
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
Issue with Control mappings #1639
Comments
What keyboard layout is this? And post the output from --debug-keyboard |
And dont put the kitty libraries in LD_LIBRARY_PATH, they are meant to be used privately for kitty. They will not work with other software on your system |
I use azerty layout.
In the new terminal, I only type
I did not notice the rpath. Thanks. |
Can't be pure azerty since it does not have an underscore key as far as I know. Must be some some modified form since the default us-keyborad based one has underscore as shift+hyphen. You have two possibilities to fix it, either use send_text in kitty.conf with the native_code from the debug output to map it to whatever you need, or if you want it to work automatically, add a GLFW_KEY_UNDERSCORE to the kitty source code. You can see how I added GLFW_KEY_PLUS in the past and do it similarly. |
Note that I have not tested the fix. |
I've tested it. The good news is that in vim, if I add the following mapping:
With vim in mate-terminal, when I type
With vim in kitty, I get nothing. Comments: I tried to map other top row keyboard keys in vim: |
What does shift+underscore produce on your system? |
In vim you will only be able to map keys that have ascii key codes, |
Badly, I encounter another issue, which is more problematic. I can work without Now, vim has a builtin mapping (to switch between buffers). On azerty keyboard, to type 6, you must type On kitty, it acts like it ignores the Shift key, because when I type Debug:
|
C-S-minus is the key combination to reduce font size. |
Hm, fair enough. For that, I just have to override the reduce font size mapping in a first time. Actually I can't... So my only move would be to change the kitty_mod to something else, like ctrl-super. It seems that I am not the first one which had this issue (#171). I will try to understand what are the causes and see if I can try anything around here (though, it seems to be a very difficult issue). |
by the way see c2fd700 |
And you should be able to unmap it in kitty.conf with
|
I still have issue with key mappings. I am using c2fd700 version.
|
I dont understand what you are saying. According to that log, when you press alt+shift+; the keys kitt receives are alt+shift+; not alt+. so your keyboard layout doesn't appear to be working. If for some reason you want alt+shift+; to send the same bytes as alt+, use send_text for it in kitty.conf, like this:
|
What I mean is that Bash mapping is I wonder how terminals handle this kind of behavior. I understand this can be nightmare to manage this kind of keyboard specific behavior. But this is the first time such standard mapping do not work out of the box. I will take a look on mate-terminal source code, and try to to understand how they manage this. |
Truly I am ignorant. I deleted my nonsense comment. |
When I type
<Ctrl>-_
, it acts likeBackspace
.I do not configure any mappings in my configuration files, and I don't find any
<Ctrl>-_
mapping in configuration.Configuration:
I don't know if it related, but I also encounter conflicts between system libraries and the ones installed by kitty. I had to remove
libharfbuzz.so.0
installed by kitty from my LD_LIBRARY_PATH, or I was unable to start firefox, or mate-terminal for example:The text was updated successfully, but these errors were encountered: