Skip to content

↑↓ moveEnter openEsc close

Kill to the end of the line in Emacs

Emacs 30.1 · 62 shortcuts · checked Nov 2026 · Source: GNU Project docs

In GNU Emacs, press Ctrl+K on Mac, Windows, Linux.

What else uses Ctrl+K?

More Emacs shortcuts: editing

ActionMacWindowsLinux
Delete the next characterCtrlDCtrlDCtrlD
Delete (kill) the next wordOptionDAltDAltD
Delete (kill) the previous wordOptionBackspaceAltBackspaceAltBackspace
Set the mark (start a selection)CtrlSpaceCtrlSpaceCtrlSpace
Select the whole bufferCtrlX,HCtrlX,HCtrlX,H
Cut (kill) the selectionCtrlWCtrlWCtrlW
Copy the selectionOptionWAltWAltW
Paste (yank)CtrlYCtrlYCtrlY
Replace the paste with an older killOptionYAltYAltY
Open a new line after the cursorCtrlOCtrlOCtrlO

All 19 in editing · All 62 Emacs shortcuts