docs: update keymap.json bindings for OpenCode command (#4192)

This commit is contained in:
Josiah Witt
2025-11-11 11:48:10 -05:00
committed by GitHub
parent c672a1963b
commit fb2b3e567c

View File

@@ -46,7 +46,20 @@ You can also bind a keyboard shortcut by editing your `keymap.json`:
[ [
{ {
"bindings": { "bindings": {
"cmd-alt-o": ["agent::NewExternalAgentThread", { "agent": "OpenCode" }] "cmd-alt-o": [
"agent::NewExternalAgentThread",
{
"agent": {
"custom": {
"name": "OpenCode",
"command": {
"command": "opencode",
"args": ["acp"]
}
}
}
}
]
} }
} }
] ]