add ctrl+left/right to navigate by word #2042

Closed
opened 2026-02-16 17:33:54 -05:00 by yindo · 5 comments
Owner

Originally created by @oxysoft on GitHub (Oct 11, 2025).

Originally assigned to: @kommander on GitHub.

Originally created by @oxysoft on GitHub (Oct 11, 2025). Originally assigned to: @kommander on GitHub.
yindo added the opentui label 2026-02-16 17:33:54 -05:00
yindo closed this issue 2026-02-16 17:33:54 -05:00
Author
Owner

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

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

  • #2880: Requests the exact same feature (Ctrl+arrow keys for word navigation in text box) - this was closed and assigned to adamdotdevin
  • #2908: Discusses conflicts between word navigation keybinds and agent navigation
  • #2816: Related issue about Ctrl+left/right conflicts with OS shortcuts on Mac

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

@github-actions[bot] commented on GitHub (Oct 11, 2025): This issue might be a duplicate of existing issues. Please check: - #2880: Requests the exact same feature (Ctrl+arrow keys for word navigation in text box) - this was closed and assigned to adamdotdevin - #2908: Discusses conflicts between word navigation keybinds and agent navigation - #2816: Related issue about Ctrl+left/right conflicts with OS shortcuts on Mac Feel free to ignore if none of these address your specific case.
Author
Owner

@CSRessel commented on GitHub (Oct 15, 2025):

it can be solved with this comment's config:

https://github.com/sst/opencode/issues/1975#issuecomment-3192835872

{
  "$schema": "https://opencode.ai/config.json",
  "keybinds": {
    "session_child_cycle": "none",
    "session_child_cycle_reverse": "none",
  },

  ...
}
@CSRessel commented on GitHub (Oct 15, 2025): it can be solved with this comment's config: https://github.com/sst/opencode/issues/1975#issuecomment-3192835872 ```json { "$schema": "https://opencode.ai/config.json", "keybinds": { "session_child_cycle": "none", "session_child_cycle_reverse": "none", }, ... } ```
Author
Owner

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

I use:

  "keybinds": {
    "session_child_cycle": "shift+right",
    "session_child_cycle_reverse": "shift+left",
  },

that way I can still navigate to child sessions, and in my terminal and opencode it is option left or right to navigate words

@rekram1-node commented on GitHub (Oct 15, 2025): I use: ``` "keybinds": { "session_child_cycle": "shift+right", "session_child_cycle_reverse": "shift+left", }, ``` that way I can still navigate to child sessions, and in my terminal and opencode it is option left or right to navigate words
Author
Owner

@Nindaleth commented on GitHub (Nov 27, 2025):

Even if I rebind session_child_cycle* actions, Ctrl+arrows still don't work on Linux. Alt+B and Alt+F (older terminal shortcut for Word Backward/Forward) still work, so the functionality is available, just the keybind isn't.

@Nindaleth commented on GitHub (Nov 27, 2025): Even if I rebind `session_child_cycle*` actions, Ctrl+arrows still don't work on Linux. Alt+B and Alt+F (older terminal shortcut for Word Backward/Forward) still work, so the functionality is available, just the keybind isn't.
Author
Owner

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

Works now (v1.0.147)

@MilesNorton commented on GitHub (Dec 11, 2025): Works now (v1.0.147)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2042