From fb2b3e567c62806d7b4df945140ecbbfab30f4d3 Mon Sep 17 00:00:00 2001
From: Josiah Witt <josiah@witt.life>
Date: Tue, 11 Nov 2025 11:48:10 -0500
Subject: docs: update keymap.json bindings for OpenCode command (#4192)

---
 packages/web/src/content/docs/acp.mdx | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

(limited to 'packages/web/src/content/docs/acp.mdx')

diff --git a/packages/web/src/content/docs/acp.mdx b/packages/web/src/content/docs/acp.mdx
index 15ec1a1f0..bca30923c 100644
--- a/packages/web/src/content/docs/acp.mdx
+++ b/packages/web/src/content/docs/acp.mdx
@@ -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"]
+              }
+            }
+          }
+        }
+      ]
     }
   }
 ]
-- 
cgit v1.2.3

