keymap: Fix shift-
modifier symbol (#25238)
Closes #25230 ``` The shift- modifier can only be used in combination with a letter to indicate the uppercase version. For example shift-g matches typing G. Although on many keyboards shift is used to type punctuation characters like (, the keypress is not considered to be modified and so shift-( does not match. ``` [Document](https://zed.dev/docs/key-bindings#keybinding-syntax) Release Notes: - Fixed Keymap use `shift-` modifier symbol
This commit is contained in:
parent
f2b7d8a9c9
commit
78a8002415
7 changed files with 31 additions and 31 deletions
|
@ -3964,7 +3964,7 @@ mod tests {
|
|||
assert_key_bindings_for(
|
||||
workspace.into(),
|
||||
cx,
|
||||
vec![("backspace", &B), ("[", &ActivatePrevItem)],
|
||||
vec![("backspace", &B), ("{", &ActivatePrevItem)],
|
||||
line!(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue