Skip to content

Conversation

JunkuiZhang
Copy link
Contributor

Closes #36300

This PR follows Windows conventions by introducing KeybindingKeystroke, so shortcuts now show up as ctrl-shift-4 instead of ctrl-$.

It also fixes issues with keyboard layouts: when use_key_equivalents is set to true, keys are remapped based on their virtual key codes. For example, ctrl-\ on a standard English layout will be mapped to ctrl-ё on a Russian layout.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Aug 20, 2025
@JunkuiZhang JunkuiZhang force-pushed the windows/keystroke branch 3 times, most recently from 3816b1f to c76ffd4 Compare August 25, 2025 14:18
Co-authored-by: Kate <[email protected]>
@JunkuiZhang JunkuiZhang marked this pull request as ready for review August 26, 2025 16:24
@JunkuiZhang JunkuiZhang merged commit fff0ece into main Aug 26, 2025
21 checks passed
@JunkuiZhang JunkuiZhang deleted the windows/keystroke branch August 26, 2025 19:24
tidely pushed a commit to tidely/zed that referenced this pull request Sep 10, 2025
Closes zed-industries#36300

This PR follows Windows conventions by introducing
`KeybindingKeystroke`, so shortcuts now show up as `ctrl-shift-4`
instead of `ctrl-$`.

It also fixes issues with keyboard layouts: when `use_key_equivalents`
is set to true, keys are remapped based on their virtual key codes. For
example, `ctrl-\` on a standard English layout will be mapped to
`ctrl-ё` on a Russian layout.


Release Notes:

- N/A

---------

Co-authored-by: Kate <[email protected]>
notpeter added a commit that referenced this pull request Sep 23, 2025
Closes: #38482

- Previously fixed by: #36712
- Regressed in: #36572

Release Notes:

- N/A
FrGoIs pushed a commit to FrGoIs/zed that referenced this pull request Sep 29, 2025
Closes zed-industries#36300

This PR follows Windows conventions by introducing
`KeybindingKeystroke`, so shortcuts now show up as `ctrl-shift-4`
instead of `ctrl-$`.

It also fixes issues with keyboard layouts: when `use_key_equivalents`
is set to true, keys are remapped based on their virtual key codes. For
example, `ctrl-\` on a standard English layout will be mapped to
`ctrl-ё` on a Russian layout.


Release Notes:

- N/A

---------

Co-authored-by: Kate <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows Alpha: Keybinding doesn't work on keyboard language changing
1 participant