mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-06 09:24:55 +01:00
docs: update keymap.json bindings for OpenCode command (#4192)
This commit is contained in:
@@ -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"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user