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.

agent: Fix keybinding to deny running a command (#39214)

Danilo Leal3f31fc287480
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index ceb25c18351..f498bc54dfd 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -250,7 +250,7 @@
"alt-enter": "agent::ContinueWithBurnMode",
"ctrl-y": "agent::AllowOnce",
"ctrl-alt-y": "agent::AllowAlways",
- "ctrl-d": "agent::RejectOnce"
+ "ctrl-alt-z": "agent::RejectOnce"
}
},
{
diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json
index 4cf25c3b710..f236c0a579e 100644
--- a/assets/keymaps/default-macos.json
+++ b/assets/keymaps/default-macos.json
@@ -289,7 +289,7 @@
"alt-enter": "agent::ContinueWithBurnMode",
"cmd-y": "agent::AllowOnce",
"cmd-alt-y": "agent::AllowAlways",
- "cmd-d": "agent::RejectOnce"
+ "cmd-alt-z": "agent::RejectOnce"
}
},
{
diff --git a/assets/keymaps/default-windows.json b/assets/keymaps/default-windows.json
index a2c7b67b8ac..404542e12ac 100644
--- a/assets/keymaps/default-windows.json
+++ b/assets/keymaps/default-windows.json
@@ -251,7 +251,7 @@
"alt-enter": "agent::ContinueWithBurnMode",
"ctrl-y": "agent::AllowOnce",
"ctrl-alt-y": "agent::AllowAlways",
- "ctrl-d": "agent::RejectOnce"
+ "ctrl-alt-z": "agent::RejectOnce"
}
},
{