anomalyco / anomalyco/opencode

Keybinds docs are missing 32 of the 184 defined keybinds

Open
#44,673 1 comment 1 reaction 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 24, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

The keybinds docs page publishes a tui.json block that reads as the full list of defaults, but 32 of the keybinds defined in Definitions (packages/tui/src/config/keybind.ts) aren't in it. The page documents 152 of 184.

The gaps are not obscure ones:

  • The entire diff viewer set is absent — diff_open, diff_close, diff_toggle, diff_expand, diff_expand_all, diff_collapse, diff_switch_focus, diff_next_hunk, diff_previous_hunk, diff_next_file, diff_previous_file, diff_toggle_file_tree, diff_single_patch, diff_switch_source, diff_toggle_view, diff_help. Most of these have real defaults (escape,q, enter,space, ], [, n, p, and so on), so they're active but undiscoverable from the docs.
  • All nine session_quick_switch_1 through session_quick_switch_9 slots (<leader>1 .. <leader>9).
  • session_background (ctrl+b), session_pin_toggle (ctrl+f), session_queued_prompts (<leader>q), debug_view.
  • dialog.move_session.new (ctrl+m), dialog.move_session.delete (ctrl+d), dialog.move_session.refresh (ctrl+r).

The values that are documented are all correct — I checked every one against Definitions and found no mismatches. So this is purely missing entries, not wrong ones.

Steps to reproduce

Compare the keys in the tui.json block on the keybinds docs page against Definitions in packages/tui/src/config/keybind.ts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.