Remove the current line quickly.

Section: Basic Editing

Delete line

text
text
Windows/Linux: Ctrl+Shift+K
macOS: Cmd+Shift+K

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Basic Editing
Insert line below
Open a new line below without moving manually.
OpenIn sheettextsame section
Insert line above
Open a new line above the current line.
OpenIn sheettextsame section
Move line up or down
Reorder code without cut/paste.
OpenIn sheettextsame section
Copy line up or down
Duplicate the current line or selection.
OpenIn sheettextsame section
Format document
Format the entire active file.
OpenIn sheettextsame section
Go to line
Jump directly to a line number in the current file.
OpenIn sheettext1 tag match