Skip to content

feat(help): show custom keybindings in the help popup - #36

Merged
lordgreg merged 2 commits into
masterfrom
feat/34-help-popup-live-keybinds
Oct 8, 2026
Merged

lordgreg merged 2 commits into
masterfrom
feat/34-help-popup-live-keybinds

Conversation

@lordgreg

@lordgreg lordgreg commented Oct 8, 2026

Copy link
Copy Markdown
Owner

The ? help popup printed the built-in keys from a hard-coded table, so a [keybindings] override reached the footer but not the popup.

Refs #34

The `?` popup printed the built-in keys from a hard-coded table, so a
`[keybindings]` override reached the footer but not the popup.

Each action's row now asks the active keymap for its labels, and a custom
binding wins over the built-in — the same choice `display_key` already makes
for the footer. Keys the keymap does not own (preview scrolling, `Esc`,
`:!` / `:term`) stay literal, and `dd` / the cursor pair stay curated
because the live form would misrepresent a double press or reorder an
interleaved pair.

Refs #34
The help-popup keybinding fix, version bumped and the man page regenerated.
@lordgreg
lordgreg merged commit 86d315f into master Oct 8, 2026
4 of 5 checks passed
@lordgreg
lordgreg deleted the feat/34-help-popup-live-keybinds branch October 8, 2026 19:41
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.

1 participant