An alternative, especially after the fact, can sometimes be to use yank-pop, with the default keybinding M-y. Kill some pieces of text. Then yank with C-y. Then yank again, and this time also do M-y to bring back an older kill. Repeat as needed, each time typing M-y one extra time. Read more about it here: https://www.gnu.org/software/emacs/manual/html_node/emacs/Earlier-Kills.html
– MathiasDahl 2018-02-12 22:53 UTC
Is there command that does the opposite? As in, keep next kill separate from previous on kill-ring?
I often want that as i am editing, when i want to delete line and pste part of it somewhere else
– Kurvivor 2018-02-27 08:08 UTC
@MathiasDahl: good point. It is so natural for me (since I use it so often) that I didn’t even think about it.
– Marcin Borkowski 2018-03-03 07:14 UTC
@Kurvivor: how about a good old C-g
?
– Marcin Borkowski 2018-03-03 07:15 UTC