[FEATURE]: Text selection and navigation inside input with keyboard #2236

Open
opened 2026-02-16 17:34:47 -05:00 by yindo · 3 comments
Owner

Originally created by @JosXa on GitHub (Oct 22, 2025).

Originally assigned to: @thdxr on GitHub.

Describe the enhancement you want to request

Normally, you press Shift+LeftArrow, Ctrl+LeftArrow, Ctrl+Shift+LeftArrow, etc. to navigate around and select text. This doesn't work at all. No vim bindings either.

What can be done here within the constraints of the TUI and without reinventing the wheel?

Originally created by @JosXa on GitHub (Oct 22, 2025). Originally assigned to: @thdxr on GitHub. ### Describe the enhancement you want to request Normally, you press <kbd>Shift+LeftArrow</kbd>, <kbd>Ctrl+LeftArrow</kbd>, <kbd>Ctrl+Shift+LeftArrow</kbd>, etc. to navigate around and select text. This doesn't work at all. No vim bindings either. What can be done here within the constraints of the TUI and without reinventing the wheel?
yindo added the discussion label 2026-02-16 17:34:47 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 22, 2025):

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

  • #2649: Standard keyboard cursor navigation (Home/End key, ctrl+left/right key) - addresses similar keyboard navigation concerns including Ctrl+LeftArrow/RightArrow not working
  • #2520: Use Ctrl + arrow keys to move faster - specifically requests Ctrl + arrow keys functionality for faster text navigation
  • #3090: add ctrl+left/right to navigate by word - directly addresses the same Ctrl+left/right functionality mentioned in your issue
  • #2755: feat: Copy Mode for OpenCode - comprehensive feature request for vim/tmux-like text selection and copying capabilities in the TUI
  • #2550: Input Box Usability Improvements - broader discussion about improving the TUI input experience including navigation

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

@github-actions[bot] commented on GitHub (Oct 22, 2025): This issue might be a duplicate of existing issues. Please check: - #2649: Standard keyboard cursor navigation (Home/End key, ctrl+left/right key) - addresses similar keyboard navigation concerns including Ctrl+LeftArrow/RightArrow not working - #2520: Use Ctrl + arrow keys to move faster - specifically requests Ctrl + arrow keys functionality for faster text navigation - #3090: add ctrl+left/right to navigate by word - directly addresses the same Ctrl+left/right functionality mentioned in your issue - #2755: feat: Copy Mode for OpenCode - comprehensive feature request for vim/tmux-like text selection and copying capabilities in the TUI - #2550: Input Box Usability Improvements - broader discussion about improving the TUI input experience including navigation Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 22, 2025):

more to come on this soon we are rewriting the tui and we will support a lot more bindings, including I believe vim bindings for text editing.

@rekram1-node commented on GitHub (Oct 22, 2025): more to come on this soon we are rewriting the tui and we will support a lot more bindings, including I believe vim bindings for text editing.
Author
Owner

@Nindaleth commented on GitHub (Dec 11, 2025):

this should be much improved if not outright fixed as of 1.0.147, see the Keybindings doc for a complete overview

@Nindaleth commented on GitHub (Dec 11, 2025): this should be much improved if not outright fixed as of 1.0.147, see the Keybindings doc for a complete overview
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2236