Skip to content

docs: sync the keybind defaults with the TUI registry - #53557

Closed
paoValle wants to merge 1 commit into
anomalyco:devfrom
paoValle:docs-keybind-defaults
Closed

paoValle wants to merge 1 commit into
anomalyco:devfrom
paoValle:docs-keybind-defaults

Conversation

@paoValle

@paoValle paoValle commented Oct 6, 2026 •

Copy link
Copy Markdown

Issue for this PR

N/A — docs-only correction.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

keybinds.mdx lists the default bindings in full, and 32 of them were missing:

  • the whole diff viewer set (diff_open, diff_toggle, diff_expand, diff_next_hunk, …)
  • debug_view
  • session_background, session_pin_toggle, session_queued_prompts
  • session_quick_switch_1 … session_quick_switch_9
  • dialog.move_session.new, .delete and .refresh

They are all in packages/tui/src/config/keybind.ts, so this page was the only place a user could have found them and they were not there. The new lines are inserted where the registry defines them, so the block still reads in registry order.

How did you verify your code works?

Parsed Definitions out of packages/tui/src/config/keybind.ts and compared it, key by key, with the keybinds object of the tui.json block: 184 keys on both sides now, no key missing, no key extra, same order, and no value differs. Prettier 3.6.2 reports the file as clean.

Screenshots / recordings

N/A — documentation only.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

The page is the only place where the default bindings are listed, and 32
actions were missing from it, including the whole diff viewer set.
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

@thdxr thdxr closed this Oct 10, 2026
@paoValle
paoValle deleted the docs-keybind-defaults branch October 16, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants