mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
docs: update keymap.json bindings for OpenCode command (#4192)
This commit is contained in:
parent
c672a1963b
commit
fb2b3e567c
1 changed files with 14 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue