Shortcut

Emacs Kill the whole line Shortcut

The Emacs shortcut to kill the whole line is Ctrl + Shift + Backspace on Windows. It's the same on Mac.

Quick Answer

Windows
Ctrl+Shift+Backspace
Mac
Ctrl+Shift+Backspace
Web
Not confirmed yet
EmacsShortcut

Kill the whole line

Windows
Ctrl+Shift+Backspace

Cut an entire line, including its newline, wherever the cursor sits on it (kill-whole-line).

Learn More

How to kill the whole line in Emacs

  1. Open Emacs and go to where you want to kill the whole line.
  2. Press Ctrl + Shift + Backspace on Windows or Ctrl + Shift + Backspace on Mac.

Emacs Kill the whole line Shortcut for Windows

Press Ctrl + Shift + Backspace.

Emacs Kill the whole line Shortcut for Mac

Press Ctrl + Shift + Backspace.

Emacs Kill the whole line Shortcut for Emacs Web

We haven't confirmed a Emacs Web shortcut for this yet.

Version note: verify against the GNU Emacs Manual before publishing

Related Keyboard Shortcuts

Frequently asked questions

What is the Emacs kill the whole line shortcut?

On Windows, press Ctrl + Shift + Backspace. On a Mac, press Ctrl + Shift + Backspace.

Is there a Mac shortcut to kill the whole line in Emacs?

Yes: Ctrl + Shift + Backspace.

Does it work in Emacs for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify