Skip to content

Add a configurable F8 shortcut for voice conversations - #46071

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e5e373e8eefa89bec4d5cbdca801616e312134b5
Sep 17, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Add a configurable F8 shortcut for voice conversations

What changed

  • Bind F8 to start or stop a voice conversation through the existing voice toggle handler, preserving its start guards and the composer draft.
  • Expose tui.keymap.chat.toggle_voice in the configuration schema and keymap picker, with support for remapping, unbinding, and key chords.
  • Let the default yield to existing F8 bindings and overlapping chord prefixes, and validate explicit bindings against shortcut conflicts and reserved text input.
  • Handle the shortcut only on key presses when no modal or popup is active.

Testing

Add tests for default and custom bindings, conflicts, chord dispatch, live remapping and unbinding, draft preservation, start guards, and popup and key-event handling. Add a snapshot for the voice shortcut editor.

## What changed

- Bind `F8` to start or stop a voice conversation through the existing voice toggle handler, preserving its start guards and the composer draft.
- Expose `tui.keymap.chat.toggle_voice` in the configuration schema and keymap picker, with support for remapping, unbinding, and key chords.
- Let the default yield to existing `F8` bindings and overlapping chord prefixes, and validate explicit bindings against shortcut conflicts and reserved text input.
- Handle the shortcut only on key presses when no modal or popup is active.

## Testing

Add tests for default and custom bindings, conflicts, chord dispatch, live remapping and unbinding, draft preservation, start guards, and popup and key-event handling. Add a snapshot for the voice shortcut editor.

GitOrigin-RevId: e5e373e8eefa89bec4d5cbdca801616e312134b5
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e5e373e8eefa89bec4d5cbdca801616e312134b5 branch from aadfa11 to ce03f22 Compare September 17, 2026 01:31
@copyberry
copyberry Bot merged commit ce03f22 into main Sep 17, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e5e373e8eefa89bec4d5cbdca801616e312134b5 branch September 17, 2026 01:31
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 17, 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