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:
@@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user