Say we want to kill the region selected by all cursors in multiple-cursors, and yank it all to a new, empty buffer. How do you do that with multiple-cursors?

Note that a simple copy and paste of the text on the new buffer does not work, since it only yanks the region from the first cursor (as reported here).

Note: This question is motivated by the answer and problem presented in: Keeping only the lines with the cursors in multiple-cursors


Once text has been killed, exit multiple-cursor (enter) and while in new buffer hit C-x r y (normally the killed text is in the rectangle kill-ring)

  • 2
    After thousands of time failing to yank all the killed things I am frustrated to find that one MUST exit multiple-cursor to make C-x r y work. :( – Edityouprofile Jan 6 '16 at 16:08
  • The killed text in the first time persists somehow, is there something like a "cache" that I need to clear? Thanks! – benjaminz Dec 22 '16 at 20:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.