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.

Add shift-enter binding for newline in auto-height editors

Max Brunsfeldc8adde32ded7
diff --git a/assets/keymaps/default.json b/assets/keymaps/default.json
index cd353d77674..86792967335 100644
--- a/assets/keymaps/default.json
+++ b/assets/keymaps/default.json
@@ -183,6 +183,7 @@
"context": "Editor && mode == auto_height",
"bindings": {
"ctrl-enter": "editor::Newline",
+ "shift-enter": "editor::Newline",
"ctrl-shift-enter": "editor::NewlineBelow"
}
},