Skip to content

The command palette shows each command's mnemonic, and finds a command by it - #351

Open
a-team-app[bot] wants to merge 3 commits into
mainfrom
milestone-341-palette-mnemonics
Open

a-team-app[bot] wants to merge 3 commits into
mainfrom
milestone-341-palette-mnemonics

Conversation

@a-team-app

@a-team-app a-team-app Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

The command palette (Ctrl+E) now shows each command's mnemonic as its rightmost column, and typing a mnemonic finds the command: sf lists Save active editor, sao lists Select all occurrences.

Closes #341

  • Mnemonics match by prefix, so s lists the whole s… family, as the leader does. Label, keys and id still match anywhere in the text.
  • The palette now shrinks to fit a terminal narrower than its usual 76 columns rather than running off the edge. When space is short, the label is cut first, then the keys, and the mnemonic is never cut.

a-team try tuicode 351

…341)

Rows are laid out at the list's width by ActionRow.Display, like the
Keyboard Shortcuts pane: label, keys, then the mnemonic right-aligned. A
narrow list shortens the label first and never the mnemonic, and the palette
shrinks to fit a terminal narrower than its usual 76 columns. The filter
matches mnemonics by prefix, alongside the existing substring match on label,
keys and id.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@a-team-app
a-team-app Bot marked this pull request as ready for review September 29, 2026 11:37
a-team-app Bot and others added 2 commits September 30, 2026 21:50
The palette now shows Command / Binding / Mnemonic headings above the list,
laid out by the same column code as the rows, and a "Filter:" label before
the search field. The mnemonic column widens to fit its heading.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

The command palette shows each command's mnemonic, and finds a command by it

0 participants