Skip to the main content

Delete a line keyboard shortcut in 10 apps

Delete a line has a documented keyboard shortcut in 10 apps here, among them Android Studio, DBeaver, Godot Engine, IntelliJ IDEA. The most common keys are Ctrl + Shift + K on Windows and Cmd + Shift + K on a Mac.

Keys on this page were last checked against their sources on September 14, 2026.

Delete a line keyboard shortcuts in 10 apps
App Windows Mac What it does
Android Studio Windows Ctrl + Y Mac Cmd + Delete Delete the line at the caret
DBeaver Windows Ctrl + D Mac Cmd + D Delete a line of text
Godot Engine Windows Ctrl + Shift + K Mac Cmd + Shift + K Delete the line
IntelliJ IDEA Windows Ctrl + Y Mac Cmd + Backspace Delete the current line
Notepad++ Windows Ctrl + Shift + L Mac Not documented Delete the whole line
RStudio Windows Ctrl + D Mac Cmd + D Delete the line
Sublime Text Windows Ctrl + Shift + K Mac Cmd + Shift + K Delete the line
Vim Windows D then D Mac D then D Delete the whole line
Visual Studio Code Windows Ctrl + Shift + K Mac Cmd + Shift + K Remove the current code line
Zed Windows Ctrl + Shift + K Mac Cmd + Shift + K Delete the line

What most apps settled on for Delete a line

On Windows, Ctrl + Shift + K is the combination in 4 of the 10 apps here that document one. On a Mac, it is Cmd + Shift + K in 4 of 9. 6 apps go their own way on Windows, and the table above is where to find them.

Where the table is deliberately empty

1 app here publishes no Mac key for Delete a line, so that cell is left blank. A blank there is a gap in that maker documentation for Delete a line, not an oversight here, and it is never filled by converting the other system.

If the keys for Delete a line do nothing

The 10 apps listed here each decide this for themselves, so the first thing to check is that you are reading the row for the app you are actually in, and the column for your system. After that, check the app version, since delete a line is the kind of command makers move between releases. Report a correction

Looking for everything one app can do? Browse apps