docs: update keymap.json bindings for OpenCode command (#4192)
parent
c672a1963b
commit
fb2b3e567c
|
|
@ -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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue