-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
Summary
Keymaps don't works when using AltGr.
In my keyboard layout I need to press AltGr + q to produce / and AltGr + w to produce ?, but, on Windows, AltGr also produces Ctrl + Alt and conflicts with the existing keymaps.
An example is the / to search in vim mode the keymap produces Ctrl + Alt + / and I cannot use the search.
Also for Assistant Panel (The default is Ctrl + ?), I need to press Ctrl + AltGr + q, but returns Ctrl + Alt + /.
Some apps make workarounds to handle the AltGr key on windows to "correctly" key handling, generally the AltGr is the Right Alt key.
Some discussion: crossterm-rs/crossterm#820
Steps to trigger the problem:
- On Windows, using a keyboard with AltGr capability, e.g. Portuguese (Brazil ABNT2)
- Press
AltGr + key - Recieve "wrong" keys
Actual Behavior:
2025-03-20.13-26-25.mp4
Expected Behavior:
Produce the keymap correctly and use zed default keymaps without mapping to anything else.
Zed Version and System Specs
Zed: v0.178.5 (Zed)
OS: Windows 10.0.26100
Memory: 15.7 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics || Intel Corporation || Intel driver