Describe the Bug
A few issues when using (MacOS) keyboard shortcuts in the Chat composer:
- Pressing
cmd + Backspaceto delete characters to the left on the current line, ends up deleting the entire previous line as well. - Pressing
cmd + Backspaceon an empty line does nothing. - Pressing
cmd + RightArrowto go to end of line, if cursor is immediately after an inline context reference (e.g.@some_file), ends up going to the end of the entire input instead. Same forcmd + LeftArrow, goes to start of entire input.
Steps to Reproduce
(images/videos in thread comments below)
cmd + Backspace deletes too much
- Type three lines of input.
- Move cursor to middle of third line.
- Press
cmd + Backspace - Entire second line is deleted, in addition to part of the third line.
- (Bonus) Pressing
cmd + zrestores the second line, suggesting the extra deletion was actually an extra separate operation. - Pressing
cmd + zagain restores deleted part of the third line.
cmd + Backspace on empty line
- Type one line of input and
shift + Enterto add a new empty line. - Pressing
cmd + Backspacedoes nothing. - (Bonus) Pressing
cmd + zdoes nothing two times, suggesting the no-op was actually two extra separate operations. - Pressing
cmd + za third time does undo whatever came beforehand, in this case the creation of the new empty line.
cmd + RightArrow jumps too far when at inline context reference
- Type two lines of input, with an inline context reference in the first line.
- Move cursor to immediately after the inline context reference. (Note that the vertical line cursor is actually slightly lower than when it’s at normal text, suggesting perhaps a different text editing mode.)
- Pressing
cmd + RightArrowjumps to the end of the entire input.
Expected Behavior
- Pressing
cmd + Backspace(on non-empty line) should only delete characters to the left on the current line. - Pressing
cmd + Backspaceon an empty line should delete the newline and move the cursor to the end of the previous line. - Pressing
cmd + RightArrowshould move cursor to the end of line, regardless of the inline context reference.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.4.5 (Universal)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
No - Cursor works, but with this issue