TIL - M-y runs yank-from-kill-ring

TIL that M-y runs yank-from-kill-ring if used after any other command than a yank. Amazed that I have used Emacs for decades without learning this.

For non Emacs-nerds this equates to choosing what to paste from your clipboard history. You can read more about Killing and Moving Text in the Emacs Manual.

Edit:

I learned on the socials that this feature probably arrived in the last few years. Turns out it was Emacs 28 which was released in April 2022. I commented in a previous post that it is worth reading the NEWS for each release. Apparently I haven't learned my own lesson yet.

emacs  nerdism  til