Add shortcut to jump to top of recalled multi-line composer history
Open 💬 1 comment Opened May 8, 2026 by Falven
What variant of Codex are you using?
CLI
What feature would you like to see?
Please add a keyboard shortcut in the Codex CLI composer to jump directly to the top of the currently recalled multi-line history entry.
Current behavior, as far as I can tell:
Up Arrow/Ctrl+Pmoves up through the recalled message line by line, or through prompt history depending on cursor position.Home/Ctrl+Ajumps to the start of the current line, not the top of the full multi-line recalled message.Ctrl+Rreverse-searches prompt history.Ctrl+Topens the transcript overlay; inside that overlay,HomeandEndjump to the top/bottom.
The missing workflow is: recall a long prior multi-line prompt in the composer, then jump to the first line of that recalled prompt with a single shortcut. This would make editing and resubmitting long prompts much easier.
A possible behavior would be one of:
- Add a dedicated composer binding for “jump to start of recalled multi-line input”.
- Make
Home/Ctrl+Ajump to the start of the full composer buffer when the recalled input spans multiple lines, if that fits the existing keymap model. - Add PageUp/PageDown-style composer navigation for larger vertical jumps within multi-line input.
Additional information
This came up while trying to edit a long previous prompt recalled with Up Arrow. The transcript overlay has top/bottom navigation, but that does not solve editing the recalled composer text itself.
Related context:
- Current keymap reference: https://raw.githubusercontent.com/openai/codex/main/codex-rs/tui/src/keymap.rs
- Existing user discussion about terminal/conversation navigation gaps: https://github.com/openai/codex/discussions/2503
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗