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.

Restrcit context for some editor bindings that don't apply to single-line editors

Max Brunsfeld1b09862384e8
diff --git a/assets/keymaps/default.json b/assets/keymaps/default.json
index b8d3711132b..5d700006393 100644
--- a/assets/keymaps/default.json
+++ b/assets/keymaps/default.json
@@ -502,7 +502,7 @@
}
},
{
- "context": "Editor",
+ "context": "Editor && mode == full",
"bindings": {
"alt-enter": "editor::OpenExcerpts",
"cmd-f8": "editor::GoToHunk",