It’s bound to shift + command + K.
It works perfectly in VSCode, but not in Cursor. When I use the shortcut, it shows me a little toast in the bottom right corner with the filename and line number that was supposed to be deleted, but the actual line is never deleted from the editor.
How are you deleting the entire line with a keyboard shortcut?
3 Likes
I hope they can fix the hard keyboard binding, see this issue Changing `cmd+k` `cmd+shift+k` keyboard shortcut issue · Issue #1659 · getcursor/cursor · GitHub
this is the main reason for all keybind,
but in your issue, I’ve changed to ctrl + cmd + k
and seems they not care about this.
2 Likes
hmm. I’ll try to open support ticket and see what I get. thanks for your reply.
great, I hope the ticket includes the issue I mentioned.
mitonj
September 17, 2024, 7:15am
5
It also doesn’t work for windows. In list of shortcuts “ctrl+shift+K” bind to “delete line” but in fact this shortcut opens the new pop-up chat
migralito
(Alejandro De Lio)
March 28, 2025, 4:17pm
7
is this a joke or something? how is it possible that there’s no delete line shortcut out of the box???
deanrie
(Dean Rie)
March 29, 2025, 2:53pm
9
Hey, for this to work, you need to delete the first shortcut in the list, the one that points to Cursor. Hope this helps.
system
(system)
Closed
December 21, 2025, 8:57am
10
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.