5

How can I select the last pasted text with regular Emacs?

I would like to do the same thing as this Q&A, but I don't use evil mode.

1 Answer 1

7

When emacs pastes ("yanks") text, it puts a mark at the start of the text, so selecting it can be done using exchange-point-and-mark, bound to C-xC-x by default.

1
  • 1
    Booya, that's the trick. Commented Feb 20, 2020 at 19:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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