Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ui: Display `option` in lowercase in Vim mode keybindings (#38969)

Bartosz Kaszubowski6db621a1ed08
diff --git a/crates/ui/src/components/keybinding.rs b/crates/ui/src/components/keybinding.rs
index 98703f65f4c..76bd128ed80 100644
--- a/crates/ui/src/components/keybinding.rs
+++ b/crates/ui/src/components/keybinding.rs
@@ -473,6 +473,7 @@ fn keystroke_text(
if modifiers.alt {
match (platform_style, vim_mode) {
(PlatformStyle::Mac, false) => text.push_str("Option"),
+ (PlatformStyle::Mac, true) => text.push_str("option"),
(PlatformStyle::Linux | PlatformStyle::Windows, false) => text.push_str("Alt"),
(_, true) => text.push_str("alt"),
}