[BUG] Command + Delete does not delete full line in Claude Code in Cursor IDE
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?
When using Claude Code as an extension inside Cursor IDE (VSCode fork), the Command + Delete keyboard shortcut does not delete the entire line as expected. This keyboard shortcut is working in the standard terminal but not in the VSCode/Cursor extension environment.
What Should Happen?
The Command + Delete keyboard shortcut should delete the entire line of text at the cursor position, similar to how it works in most macOS text editors and in the standard terminal version of Claude Code.
Error Messages/Logs
Steps to Reproduce
- Install and launch Cursor IDE (VSCode fork)
- Install the Claude Code extension in Cursor
- Open a project and start Claude Code within Cursor
- Type some text on a line in the Claude Code interface
- Position the cursor anywhere on that line
- Press Command + Delete
- Observe that the line is not deleted as expected
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.0.120
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
This issue is specifically related to the Claude Code extension when running in Cursor IDE. The same keyboard shortcut works as expected in the standard terminal version of Claude Code, suggesting this is an IDE-specific integration issue. The extension may not be properly intercepting or handling the Command + Delete keyboard shortcut.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗