Option+Right not jumping words as intended in some scenarios #2815

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

Originally created by @conradkoh on GitHub (Nov 12, 2025).

Originally assigned to: @kommander on GitHub.

Description

The Option+Right key combination does not work correctly when jumping words

OpenCode version

No response

Steps to reproduce

  1. Type in the text "asd asd asd"
  2. Go to after the first asd and type "qqq " so that the final text is "asd qqq asd asd"
  3. Press Alt+right

Expected: it should jump from "asd qqq<here> asd asd" to "asd qqq asd<here> asd"
Actual: it jumps to "asd qqq asd asd"`"

Reproducible on both iTerm2 and VSCode

Screenshot and/or share link

No response

Operating System

MacOS Tahoe 26.1

Terminal

iTerm2, VSCode

Originally created by @conradkoh on GitHub (Nov 12, 2025). Originally assigned to: @kommander on GitHub. ### Description The Option+Right key combination does not work correctly when jumping words ### OpenCode version _No response_ ### Steps to reproduce 1. Type in the text "asd asd asd" 2. Go to after the first asd and type "qqq " so that the final text is "asd qqq asd asd" 3. Press Alt+right Expected: it should jump from "asd qqq`<here>` asd asd" to "asd qqq asd`<here>` asd" Actual: it jumps to "asd qqq asd asd"<here>`" Reproducible on both iTerm2 and VSCode ### Screenshot and/or share link _No response_ ### Operating System MacOS Tahoe 26.1 ### Terminal iTerm2, VSCode
yindo added the opentuibug labels 2026-02-16 17:37:21 -05:00
yindo closed this issue 2026-02-16 17:37:21 -05:00
Author
Owner

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

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

  • #4146: Similar word jumping behavior issue with Alt+F not jumping to correct word boundaries
  • #3090: Feature request for adding ctrl+left/right word navigation functionality
  • #2649: General keyboard cursor navigation issues including ctrl+left/right behavior

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

@github-actions[bot] commented on GitHub (Nov 12, 2025): This issue might be a duplicate of existing issues. Please check: - #4146: Similar word jumping behavior issue with Alt+F not jumping to correct word boundaries - #3090: Feature request for adding ctrl+left/right word navigation functionality - #2649: General keyboard cursor navigation issues including ctrl+left/right behavior Feel free to ignore if none of these address your specific case.
Author
Owner

@conradkoh-fp commented on GitHub (Nov 26, 2025):

The issue continues to persist in version 1.0.117. Might be because the original fix was reverted.

@conradkoh-fp commented on GitHub (Nov 26, 2025): The issue continues to persist in version 1.0.117. Might be because the original fix was reverted.
Author
Owner

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

yeah it was it caused issues, reopening

@rekram1-node commented on GitHub (Nov 26, 2025): yeah it was it caused issues, reopening
Author
Owner

@kommander commented on GitHub (Dec 20, 2025):

This should be better in latest versions?

@kommander commented on GitHub (Dec 20, 2025): This should be better in latest versions?
Author
Owner

@conradkoh commented on GitHub (Dec 21, 2025):

yes this issue has been resolved, thanks for the fix @kommander!

@conradkoh commented on GitHub (Dec 21, 2025): yes this issue has been resolved, thanks for the fix @kommander!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2815