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

pull/3809/head
Josiah Witt 2025-11-11 11:48:10 -05:00 committed by GitHub
parent c672a1963b
commit fb2b3e567c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 1 deletions

View File

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