GNU Emacs Manual. Node: Yanking

PREV Killing UP Top NEXT Accumulating Text

7.8: Yanking

Yanking means reinserting text previously killed. This is what some systems call ``pasting.'' The usual way to move or copy text is to kill it and then yank it elsewhere one or more times.

C-y

Yank last killed text (yank).

M-y Replace text just yanked with an earlier batch of killed text (yank-pop).
M-w Save region as last killed text without actually killing it (kill-ring-save).
C-M-w Append next kill to last batch of killed text (append-next-kill).

  • Kill Ring Where killed text is stored. Basic yanking.
  • Appending Kills Several kills in a row all yank together.
  • Earlier Kills Yanking something killed some time ago.
  • PREV Killing UP Top NEXT Accumulating Text