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

Follow up to https://github.com/zed-industries/zed/pull/42772 adding
some comments to improve clarity.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-11-14 23:08:46 +00:00
committed by GitHub
parent b3097cfc8a
commit 1277f328c4
+3 -3
View File
@@ -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"]
}
}