# Keyboard shortcut “Delete Line” doesn’t work on Mac

**URL:** <https://forum.cursor.com/t/keyboard-shortcut-delete-line-doesn-t-work-on-mac/156691>\
**Category:** Bug Reports\
**Tags:** keybindings, macos\
**Created:** [April 4, 2026, 5:53pm UTC](https://forum.cursor.com/t/keyboard-shortcut-delete-line-doesn-t-work-on-mac/156691 "2026-04-04T17:53:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yury\_Sedinkin](https://avatars.discourse-cdn.com/v4/letter/y/ac91a4/32.png) [@Yury\_Sedinkin](https://forum.cursor.com/u/Yury_Sedinkin)\
**Post date:** [April 4, 2026, 5:53pm UTC](https://forum.cursor.com/t/keyboard-shortcut-delete-line-doesn-t-work-on-mac/156691/1 "2026-04-04T17:53:16Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

I came across this previously reported issue regarding the keyboard shortcut for deleting a line on macOS:

> [@Keyboard shortcut "Delete Line" doesn't work on Mac](https://forum.cursor.com/t/keyboard-shortcut-delete-line-doesnt-work-on-mac/12100):
>
> 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?

While I appreciate that a workaround was suggested at the time, it seems that quite a bit of time has passed since the original report in 2024. I was wondering if there are any plans to address this issue directly, rather than relying on the workaround.

This shortcut is fairly fundamental for everyday editing, so having it work as expected would significantly improve the user experience.

Thank you for your time and for all the work on the product!

### Steps to Reproduce

Try deleting a line in the editor using Cmd + Shift + K.

### Operating System

MacOS

### Version Information

Version: 3.0.9  
VSCode Version: 1.105.1  
Commit: 93e276db8a03af947eafb2d10241e2de17806c20  
Date: 2026-04-03T02:06:46.446Z  
Layout: editor  
Build Type: Stable  
Release Track: Default  
Electron: 39.8.1  
Chromium: 142.0.7444.265  
Node.js: 22.22.1  
V8: 14.2.231.22-electron.0  
OS: Darwin x64 22.6.0

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 4, 2026, 6:14pm UTC](https://forum.cursor.com/t/keyboard-shortcut-delete-line-doesn-t-work-on-mac/156691/4 "2026-04-04T18:14:12Z")

</div>

Hey, thanks for the report. This is a known issue. Cursor adds its own keybinding on `Cmd+Shift+K`, which overrides the default Delete Line.

For now, the workaround from the previous thread still applies:

1. Open Keyboard Shortcuts
2. Find Delete Line
3. Remove the first shortcut in the list that points to Cursor, not the default one

I get that you want this to work out of the box. We don’t have an ETA yet, but your report helps us prioritize it.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 26, 2026, 6:51pm UTC](https://forum.cursor.com/t/keyboard-shortcut-delete-line-doesn-t-work-on-mac/156691/7 "2026-04-26T18:51:29Z")

</div>

Closed on April 26, 2026, 6:51pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
