[BUG] VS Code Extension on OSX - Home/End keys don't move to end of line
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?
In the chat window of the VS Code Claude Code extension, pressing the Home or End key on the keyboard doesn't move to the start or end of the line. Both Home and End do move to the start/end of the line in the VS Code editor as well as the VS Code built-in AI chat. I consider this a bug since other areas in VS Code respond to the Home/End keys, but I see an argument for feature request as well since Cmd+arrow are the typical keyboard shortcuts for OSX (and those work just fine)
VS Code keyboard shortcuts list Home/End as official shortcuts to move to the start/end of a line: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
Claude Code for VS Code v2.1.231
VS Code v1.133.0
OSX 26.5.2
What Should Happen?
Pressing Home should move to the start of the line, End should move to the end of the line
Error Messages/Logs
Steps to Reproduce
Open VS Code with Claude Code extension installed
Enter text in the Claude Code chat window
Press Home - cursor should move the the start of the line but doesn't
Move the cursor away from the end of the line (using arrow keys or mouse)
Press End - cursor should move to the end of the line but doesn't
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.231
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_