Home / Emacs / Global keymap
Killing and deleting
| Key | Description | Note |
|---|---|---|
C-d |
delete character forward | or region |
DEL |
delete character backward | or region |
C-w |
kill region | a.k.a. cut |
M-w |
save region as if killed | a.k.a. copy |
C-M-w |
append next kill to previous | implicit for subsequent kills |
M-DEL |
kill1 to beginning of word | or C-DEL |
C-x DEL |
kill 1 to beginning of sentence | |
M-d |
kill 1 to end of word | |
C-k |
kill 1 to end of line | beginning with C-u 0 |
M-k |
kill 1 to end of sentence | |
M-z |
kill 1 to character (inclusive) | the z stands for “zap” |
C-S-DEL |
kill 1 current line | |
C-y |
yank from kill ring | pushes mark, with C-u exchange point/mark |
M-y after yank |
yank from kill ring, previous… | pushes mark, with C-u exchange point/mark |
M-y |
from kill ring, selecting… | pushes mark, with C-u exchange point/mark |
Footnotes:
1
If repeated, appends to the last kill. To repeat automatically N times, prefix with C-u /N/.