Edit: Yank Pop

edit.yankPop

Replace the just-yanked text with the previous kill-ring entry.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for Edit: Yank Pop, then press Enter. It also has a default keybinding:

Emacs M-y

See also