ZIm/crates/gpui/src
Ben Kunkle a1bef28da3
keymap: Allow upper-case keys in keybinds (#27813)
Reverts the error behavior introduced in #27558. Upper-case keys in
keybindings no longer generate errors, instead they are transformed into
`shift-{KEY}`
e.g. `ctrl-N` becomes `ctrl-shift-n`

The behavior introduced in #27558 where "special" keys such as function
keys, `control`, `shift`, etc. Are parsed case-insensitively is
preserved.

Release Notes:
- Improved how upper-case characters are handled in keybinds. "special"
keys such as the function keys, `control`, `shift`, etc. are now parsed
case-insensitively, so for example `F8`, `CTRL`, `SHIFT` are now
acceptable alternatives to `f8`, `ctrl`, and `shift` when declaring
keybindings. Additionally, upper-case (ascii) characters will now be
converted explicitly to `shift` + the lowercase version of the
character, to match the Vim behavior.
NOTE: Release notes above should replace the release notes from #27558
2025-03-31 22:31:01 +00:00
..
app keymap: Allow upper-case keys in keybinds (#27813) 2025-03-31 22:31:01 +00:00
elements chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
keymap chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
platform keymap: Allow upper-case keys in keybinds (#27813) 2025-03-31 22:31:01 +00:00
text_system chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
window chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
action.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
app.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
arena.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
asset_cache.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assets.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
bounds_tree.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
color.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
element.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
executor.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
geometry.rs Pull logic for clamping corner rounding radii out of Corners::to_pixels (#27460) 2025-03-25 21:56:17 +00:00
global.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
gpui.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
input.rs Implement character index for point (#23989) 2025-02-04 20:15:43 +00:00
interactive.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
key_dispatch.rs Rework git toasts (#26420) 2025-03-11 21:39:29 +00:00
keymap.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
path_builder.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
platform.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
prelude.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
scene.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
shared_string.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
shared_uri.rs Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
style.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
styled.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
subscription.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
svg_renderer.rs gpui: Add support for text in SVGs (#26335) 2025-03-14 08:25:11 -05:00
taffy.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
test.rs Add seed argument to #[gpui::test] attribute macro (#26764) 2025-03-14 13:40:02 -03:00
text_system.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
util.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
view.rs Add more view tracking (#24683) 2025-02-11 19:18:54 +00:00
window.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00