diff --git a/services/www/src/docs/content/cli/keybinds.mdx b/services/www/src/docs/content/cli/keybinds.mdx index 5b97792efeb..5b213f50fd5 100644 --- a/services/www/src/docs/content/cli/keybinds.mdx +++ b/services/www/src/docs/content/cli/keybinds.mdx @@ -97,7 +97,6 @@ Unknown command IDs are rejected. | `opencode.settings` | `none` | Open settings | | `server.pair` | `none` | Pair device | | `service.restart` | `none` | Restart service | -| `permission.mode` | `none` | Toggle auto-approve permissions | ## Mini @@ -159,10 +158,11 @@ The retired `diff.toggle`, `diff.expand`, `diff.expand_all`, `diff.collapse`, an | ID | Default | Description | | -------------------------- | ----------- | ---------------------------------------- | | `prompt.editor` | `e` | Open external editor | -| `theme.switch` | `t` | List available themes | +| `theme.switch` | `none` | List available themes | | `theme.switch_mode` | `none` | Switch between light and dark theme mode | | `theme.mode.lock` | `none` | Lock or unlock theme mode | | `session.sidebar.toggle` | `b` | Toggle sidebar | +| `terminal.toggle` | `t` | Toggle terminal pane | | `session.toggle.scrollbar` | `none` | Toggle session scrollbar | | `opencode.status` | `s` | View status | | `opencode.debug` | `none` | View debug info | @@ -269,16 +269,16 @@ The retired `diff.toggle`, `diff.expand`, `diff.expand_all`, `diff.collapse`, an ## Prompt Commands -| ID | Default | Description | -| ----------------------------- | ------------ | ---------------------- | -| `prompt.submit` | `none` | Submit prompt | -| `prompt.queue` | `alt+return` | Queue prompt | -| `prompt.editor_context.clear` | `none` | Clear editor context | -| `prompt.images.view` | `i` | View image attachments | -| `prompt.skills` | `none` | Open skill selector | -| `prompt.stash` | `none` | Stash prompt | -| `prompt.stash.pop` | `none` | Pop stashed prompt | -| `prompt.stash.list` | `none` | List stashed prompts | +| ID | Default | Description | +| ----------------------------- | ---------------- | ---------------------- | +| `prompt.submit` | `none` | Submit prompt | +| `prompt.queue` | `return` | Queue prompt | +| `prompt.editor_context.clear` | `none` | Clear editor context | +| `prompt.images.view` | `i` | View image attachments | +| `prompt.skills` | `none` | Open skill selector | +| `prompt.stash` | `none` | Stash prompt | +| `prompt.stash.pop` | `none` | Pop stashed prompt | +| `prompt.stash.list` | `none` | List stashed prompts | ## Input Editing @@ -287,7 +287,7 @@ The retired `diff.toggle`, `diff.expand`, `diff.expand_all`, `diff.collapse`, an | `prompt.clear` | `ctrl+c` | Clear input field | | `prompt.paste` | `{"key":"ctrl+v","preventDefault":false}` (`ctrl+v`; `preventDefault: false`) | Paste from clipboard | | `input.submit` | `return` | Submit input | -| `input.newline` | `shift+return,ctrl+return,ctrl+j` | Insert newline in input | +| `input.newline` | `shift+return,ctrl+return,alt+return,ctrl+j` | Insert newline in input | | `input.move.left` | `left,ctrl+b` | Move cursor left in input | | `input.move.right` | `right,ctrl+f` | Move cursor right in input | | `input.move.up` | `up` | Move cursor up in input | @@ -355,7 +355,8 @@ The viewer shows recent output and stays open after exit; output redirected to a | `dialog.select.submit` | `return` | Submit selected dialog item | | `dialog.prompt.submit` | `return` | Submit dialog prompt | | `dialog.worktree.generate` | `tab` | Generate worktree name | -| `dialog.move_session.new` | `ctrl+m` | New worktree | +| `dialog.move_session.new` | `ctrl+a` | New worktree | +| `dialog.move_session.move` | `ctrl+m` | Move session to worktree | | `dialog.move_session.delete` | `ctrl+d` | Delete worktree | | `dialog.move_session.refresh` | `ctrl+r` | Refresh worktrees | | `prompt.autocomplete.prev` | `up,ctrl+p` | Move to previous autocomplete item | @@ -364,7 +365,7 @@ The viewer shows recent output and stays open after exit; output redirected to a | `prompt.autocomplete.select` | `return` | Select autocomplete item | | `prompt.autocomplete.complete` | `tab` | Complete autocomplete item | | `permission.prompt.fullscreen` | `ctrl+f` | Toggle permission prompt fullscreen | -| `plugins.toggle` | `space` | Toggle plugin | +| `plugins.toggle` | `return` | Toggle plugin | | `dialog.mcp.toggle` | `space` | Toggle MCP server | | `dialog.plugins.install` | `shift+i` | Install plugin from plugin dialog | | `dialog.plugins.update` | `ctrl+u` | Update plugin from plugin dialog | diff --git a/services/www/src/docs/content/cli/tui.mdx b/services/www/src/docs/content/cli/tui.mdx index 9df63f96ab2..6dbd0734eee 100644 --- a/services/www/src/docs/content/cli/tui.mdx +++ b/services/www/src/docs/content/cli/tui.mdx @@ -14,7 +14,7 @@ opencode Explain how authentication works in this project ``` -Press **Shift+Enter**, **Ctrl+Enter**, or **Ctrl+J** for a new line. While OpenCode is working, **Enter** steers the active session and **Alt+Enter** queues the prompt for later. +Press **Shift+Enter**, **Ctrl+Enter**, **Alt+Enter**, or **Ctrl+J** for a new line. While OpenCode is working, **Enter** steers the active session; press **Ctrl+X**, then **Enter** to queue the prompt for later. ## Context