You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should be able to navigate using shift + option + arrow, or shift + cmd + arrow
It's not working on windows or wsl...
Codex, Claude Code, and even standard terminals all support ctrl + arrow key, and currently this key combination doesn’t seem to have any functionality. I think it would be quite reasonable to add ctrl + arrow key support. If permitted, I can submit a PR.
that's totally fair, the team is rewriting the tui from ground up, should be done later this week and if it still doesn't work well a PR would be welcome.
Unfortunately the opencode windows support has left a lot to be desired as of late
@rekram1-node I am on linux and I just realised alt + arrow keys work. Counter intuitive though. I also noticed the behaviour on other tools and they have movement using either ctrl/alt + arrow keys
@rekram1-node I am on linux and I just realised alt + arrow keys work. Counter intuitive though. I also noticed the behaviour on other tools and they have movement using either ctrl/alt + arrow keys
alt + arrow keys work for me on wezterm + wsl2 but yea this is unintuitive. I've never seen alt + arrow keys before but maybe it's more common in linux environments?
Activity
rekram1-node commentedon Sep 9, 2025
You should be able to navigate using shift + option + arrow, or shift + cmd + arrow
Jannchie commentedon Sep 10, 2025
It's not working on windows or wsl...
Codex, Claude Code, and even standard terminals all support ctrl + arrow key, and currently this key combination doesn’t seem to have any functionality. I think it would be quite reasonable to add ctrl + arrow key support. If permitted, I can submit a PR.
rekram1-node commentedon Sep 10, 2025
that's totally fair, the team is rewriting the tui from ground up, should be done later this week and if it still doesn't work well a PR would be welcome.
Unfortunately the opencode windows support has left a lot to be desired as of late
pranitbauva1997 commentedon Sep 10, 2025
@rekram1-node I am on linux and I just realised alt + arrow keys work. Counter intuitive though. I also noticed the behaviour on other tools and they have movement using either ctrl/alt + arrow keys
sai-sy commentedon Sep 30, 2025
alt + arrow keys work for me on wezterm + wsl2 but yea this is unintuitive. I've never seen alt + arrow keys before but maybe it's more common in linux environments?
sai-sy commentedon Sep 30, 2025
@pranitbauva1997 #1975 might be the reason why its alt and not ctrl so the config outlined there might solve the issue
still unintuitive tho
CSRessel commentedon Oct 15, 2025
At least on Linux, the ctrl+arrows binding can be solved with this comment's config:
#1975 (comment)
{ "$schema": "https://opencode.ai/config.json", "keybinds": { "session_child_cycle": "none", "session_child_cycle_reverse": "none", }, ... }Might behave the same on Windows as well
rekram1-node commentedon Oct 15, 2025
I use:
that way I can still navigate to child sessions, and in my terminal and opencode it is option left or right to navigate words
jcubic commentedon Nov 18, 2025
This doesn't work anymore:
I use version
1.0.70.