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.

docs: Improve custom keybinding for external agent example (#42776)

Danilo Leal1277f328c42c
diff --git a/docs/src/ai/external-agents.md b/docs/src/ai/external-agents.md
index 7830400fde4..ade14c393dc 100644
--- a/docs/src/ai/external-agents.md
+++ b/docs/src/ai/external-agents.md
@@ -213,14 +213,14 @@ To assign a custom keybinding to start a new thread for agents that were added b
```json [keymap]
{
"bindings": {
- "cmd-alt-n": [
+ "cmd-alt-n": [ // Your custom keybinding
"agent::NewExternalAgentThread",
{
"agent": {
"custom": {
- "name": "My Agent",
+ "name": "My Agent", // The agent name as it appears in the UI (e.g., "OpenCode", "Auggie CLI", etc.)
"command": {
- "command": "my-agent",
+ "command": "my-agent", // The agent name in lowercase with no spaces
"args": ["acp"]
}
}