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.

Match VSCode behavior for ctrl-a/ctrl-e on MacOS (#15981)

Peter Trippbd71e9192c7e
diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json
index f2c417157bb..2f85973dfd6 100644
--- a/assets/keymaps/default-macos.json
+++ b/assets/keymaps/default-macos.json
@@ -89,9 +89,9 @@
"alt-right": "editor::MoveToNextWordEnd",
"alt-f": "editor::MoveToNextWordEnd",
"cmd-left": "editor::MoveToBeginningOfLine",
- "ctrl-a": "editor::MoveToBeginningOfLine",
+ "ctrl-a": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false }],
"cmd-right": "editor::MoveToEndOfLine",
- "ctrl-e": "editor::MoveToEndOfLine",
+ "ctrl-e": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": false }],
"cmd-up": "editor::MoveToBeginning",
"cmd-down": "editor::MoveToEnd",
"shift-up": "editor::SelectUp",