Skip to content

Add configurable persistent leader shortcuts to the TUI - #52273

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/35b964cccd2812c73200f0c26b0f19506821df92
Oct 8, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/35b964cccd2812c73200f0c26b0f19506821df92

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Add configurable persistent leader shortcuts to the TUI

What changed

  • Add tui.keymap.global.leader, defaulting to ctrl-x, and symbolic bindings such as leader c that follow the configured prefix. The default prefix yields to existing custom shortcuts and chord prefixes.
  • Keep leader shortcut hints open until completion or cancellation, while ordinary chords retain their one-second timeout. Pressing esc or repeating the leader cancels the pending shortcut.
  • Add leader configuration and a Use leader... capture option to /keymap, with resolved shortcut labels and conflict validation.
  • Cancel pending chords when input targets change, on paste or focus loss, and on mouse actions other than movement.
  • Move the default voice mute shortcut from ctrl-x to f9 and update its tests and displayed hints.

## What changed

- Add `tui.keymap.global.leader`, defaulting to `ctrl-x`, and symbolic bindings such as `leader c` that follow the configured prefix. The default prefix yields to existing custom shortcuts and chord prefixes.
- Keep leader shortcut hints open until completion or cancellation, while ordinary chords retain their one-second timeout. Pressing `esc` or repeating the leader cancels the pending shortcut.
- Add leader configuration and a `Use leader...` capture option to `/keymap`, with resolved shortcut labels and conflict validation.
- Cancel pending chords when input targets change, on paste or focus loss, and on mouse actions other than movement.
- Move the default voice mute shortcut from `ctrl-x` to `f9` and update its tests and displayed hints.

GitOrigin-RevId: 35b964cccd2812c73200f0c26b0f19506821df92
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/35b964cccd2812c73200f0c26b0f19506821df92 branch from b20715a to a3f3b44 Compare October 8, 2026 21:01
@copyberry
copyberry Bot merged commit a3f3b44 into main Oct 8, 2026
1 check passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
πŸ“ Code Review πŸ”„ Running since 2026-10-08T21:01:19.776785Z b20715a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with πŸ‘€ while any review is running, comments if it has suggestions, and reacts with πŸ‘ once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/35b964cccd2812c73200f0c26b0f19506821df92 branch October 8, 2026 21:01
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant