If I have text1 text2
, I yank text1
with yw
then I highlight text2
with vw
and paste overwrite that text with p
, my kill ring now has text2
. I'd prefer if text2
wasn't added to my kill ring because next time I paste text, Emacs will paste text2
which I inadvertently copied.
Same question for x
(which deletes 1 character), the deleted character goes into my kill ring.
p
then C-p
to cycle through the kill ring isn't ideal. I paste the text again, the over written text is continually added onto the kill ring leading to more C-p
presses to get the original text. Ideally I'm hoping to disable or redefine p when over writing text to not add to the kill ring