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.

gpui_macos: Update Spanish-ISO shortcut mappings (#66283)

Lukas Wirth411266680135
diff --git a/crates/gpui_macos/src/keyboard.rs b/crates/gpui_macos/src/keyboard.rs
index 636346754e6..bc43acc6846 100644
--- a/crates/gpui_macos/src/keyboard.rs
+++ b/crates/gpui_macos/src/keyboard.rs
@@ -1241,28 +1241,28 @@ fn get_key_equivalents(layout_id: &str) -> Option<HashMap<char, char>> {
('~', '>'),
],
"com.apple.keylayout.Spanish-ISO" => &[
- ('"', '¨'),
+ ('"', '^'),
('#', '·'),
('&', '/'),
+ ('\'', '`'),
('(', ')'),
(')', '='),
('*', '('),
- ('.', 'ç'),
- ('/', '.'),
- (':', 'º'),
- (';', '´'),
- ('<', '¿'),
- ('>', 'Ç'),
+ ('/', '\''),
+ (':', '¿'),
+ (';', '¡'),
+ ('<', ';'),
+ ('=', '*'),
+ ('>', ':'),
('@', '"'),
('[', 'ñ'),
- ('\'', '`'),
- ('\\', '\''),
- (']', ';'),
+ ('\\', 'ç'),
+ (']', '´'),
('^', '&'),
('`', '<'),
('{', 'Ñ'),
- ('|', '"'),
- ('}', '`'),
+ ('|', 'Ç'),
+ ('}', '¨'),
('~', '>'),
],
"com.apple.keylayout.Swedish" => &[