Emacs: Copy/Paste, kill-ring

By Xah Lee. Date: . Last updated: .

Undo, Cut, Copy, Paste

undoCtrl+_
Undo
kill-regionCtrl+w
Cut
kill-ring-saveAlt+w
Copy
yankCtrl+y
Paste

In emacs:

Paste from Copy History

to paste from kill-ring (storage of copy history):

  1. yankCtrl+y
  2. yank-popAlt+y】 to insert previous copied content.
  3. Press Alt+y again to get earlier copied content. (repeat this step to get earlier)

A history of copied text is called “kill ring”, stored in the variable kill-ring.

View kill-ring Content

To view copy/cut history: Pull the GUI menu [Edit ▸ Paste from kill Menu].

emacs kill ring 2022 10 03
emacs kill ring 2022 10 03

Emacs Copy/Paste

ErgoEmacs mascot-s276x226
Buy Xah Emacs Tutorial

Emacs Tutorial

Quick Start

Font

Split Window

File

Buffer

Find Replace

Copy/Paste

Unicode

Whitespace

Rectangle Edit

Line Wrap

Shell

View Special File

Editing Brackets

Org Mode

HTML

Emacs Efficiency

Misc