[FEATURE]:re-enable emacs-style prompt navigation #2685

Closed
opened 2026-02-16 17:36:50 -05:00 by yindo · 4 comments
Owner

Originally created by @johannesrave on GitHub (Nov 8, 2025).

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Before the switch to OpenTUI I was able to use emacs-style hotkeys to eg. jump to the beginning of the prompt or delete it, for example after doing /undo, using CTRL + U, CTRL + A, CTRL + E etc.

This was useful and is convention with many TUI tools. I assume it's not part of OpenTUI yet?

Originally created by @johannesrave on GitHub (Nov 8, 2025). ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Before the switch to OpenTUI I was able to use emacs-style hotkeys to eg. jump to the beginning of the prompt or delete it, for example after doing /undo, using CTRL + U, CTRL + A, CTRL + E etc. This was useful and is convention with many TUI tools. I assume it's not part of OpenTUI yet?
yindo added the opentuidiscussion labels 2026-02-16 17:36:50 -05:00
yindo closed this issue 2026-02-16 17:36:50 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 8, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3626: Reports emacs-style navigation keybindings (Ctrl+n, Ctrl+p) not working after 1.0 TUI rewrite
  • #3647: Specifically mentions Ctrl-u not clearing input field (same functionality requested here)
  • #4000: Requests missing readline ctrl+f/ctrl+b keybindings (similar emacs/readline functionality)
  • #3640: Reports surprising/unexpected ctrl+p/ctrl+n behavior changes in 1.0.2
  • #2176: Requests missing readline Ctrl+N and Ctrl+P functionality

These issues all relate to the same underlying problem: emacs/readline-style keyboard navigation being broken or missing after the OpenTUI transition.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 8, 2025): This issue might be a duplicate of existing issues. Please check: - #3626: Reports emacs-style navigation keybindings (Ctrl+n, Ctrl+p) not working after 1.0 TUI rewrite - #3647: Specifically mentions Ctrl-u not clearing input field (same functionality requested here) - #4000: Requests missing readline ctrl+f/ctrl+b keybindings (similar emacs/readline functionality) - #3640: Reports surprising/unexpected ctrl+p/ctrl+n behavior changes in 1.0.2 - #2176: Requests missing readline Ctrl+N and Ctrl+P functionality These issues all relate to the same underlying problem: emacs/readline-style keyboard navigation being broken or missing after the OpenTUI transition. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 8, 2025):

yeah these should be coming back soon

@rekram1-node commented on GitHub (Nov 8, 2025): yeah these should be coming back soon
Author
Owner

@johannesrave commented on GitHub (Nov 9, 2025):

Thanks! Also, sorry, I noticed that CTRL+E and CTRL+A already work (again?), only CTRL+U doesn't. I also saw the other issue about that now, closing here.

@johannesrave commented on GitHub (Nov 9, 2025): Thanks! Also, sorry, I noticed that CTRL+E and CTRL+A already work (again?), only CTRL+U doesn't. I also saw the other issue about that now, closing here.
Author
Owner

@rekram1-node commented on GitHub (Nov 9, 2025):

sounds good

@rekram1-node commented on GitHub (Nov 9, 2025): sounds good
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2685