Do not use @ references as special word breaks (alt-left and alt-right jumps the full reference instead of using normal word breaks) #1722

Closed
opened 2026-02-16 17:32:20 -05:00 by yindo · 1 comment
Owner

Originally created by @remorses on GitHub (Sep 14, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Currently if you have text in the prompt with content some text @file/reference| where | is the cursor position, pressing alt-left will jump the full @ text instead of stopping at the first /.

Should be

  • some text @file/|reference

instead it is

  • some text |@file/reference
Originally created by @remorses on GitHub (Sep 14, 2025). Originally assigned to: @adamdotdevin on GitHub. Currently if you have text in the prompt with content `some text @file/reference| ` where `|` is the cursor position, pressing alt-left will jump the full @ text instead of stopping at the first /. Should be - `some text @file/|reference ` instead it is - `some text |@file/reference `
yindo closed this issue 2026-02-16 17:32:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 14, 2025):

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

  • #400: Alt+b and alt+f don't count symbols as word boundaries (specifically mentions / symbols in paths not being treated as word boundaries)
  • #1975: ctrl + arrow key no longer moves word-to-word (related word navigation issues)
  • #2520: Use Ctrl + arrow keys to move faster (word-by-word navigation in input box)

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

@github-actions[bot] commented on GitHub (Sep 14, 2025): This issue might be a duplicate of existing issues. Please check: - #400: Alt+b and alt+f don't count symbols as word boundaries (specifically mentions `/` symbols in paths not being treated as word boundaries) - #1975: ctrl + arrow key no longer moves word-to-word (related word navigation issues) - #2520: Use Ctrl + arrow keys to move faster (word-by-word navigation in input box) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1722