[BUG] Ctrl+Right has subtly different behavior than all other apps
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The behavior of Ctrl+Right is subtly different than most major apps/OSes. This makes it hard to use for people with muscle memory for what the shortcut normally does.
What Should Happen?
It should take you to the end of the current word, or if already there, to the end of the next word.
Error Messages/Logs
Steps to Reproduce
At the prompt in CC type hello world but don't hit enter, now using | to represent the cursor position the prompt will look like:
hello world|
Now press ctrl+left:
hello |world
So far that matches standard behavior. Now press ctrl+left again:
|hello world
Still standard. Now press ctrl+right:
hello |world
That is not standard. Instead it should be:
hello| world
Go ahead and move the cursor there manually so you have:
hello| world
Now press ctrl+right again and you will get:
hello |world
Which is also not standard. You should instead get:
hello world|
It's subtle, but if you have muscle memory for it it makes CC very annoying to use, and is inconsistent with how editing works in major apps/OSes.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.59
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗