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.

Fix ctrl-enter opening inline-assistant in assistant text threads (#29313)

Peter Trippfd8eeb537dec
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index 4f2798796cf..e320714be78 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -675,7 +675,7 @@
}
},
{
- "context": "Editor && mode == full",
+ "context": "!ContextEditor > Editor && mode == full",
"bindings": {
"alt-enter": "editor::OpenExcerpts",
"shift-enter": "editor::ExpandExcerpts",
diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json
index ff0948c2b19..19f16a15309 100644
--- a/assets/keymaps/default-macos.json
+++ b/assets/keymaps/default-macos.json
@@ -738,7 +738,7 @@
}
},
{
- "context": "Editor && mode == full",
+ "context": "!ContextEditor > Editor && mode == full",
"use_key_equivalents": true,
"bindings": {
"alt-enter": "editor::OpenExcerpts",