1

C-n C-y retrieves the n-last call to C-w, I think. Is there a way to show all that were saved?

1

3 Answers 3

0

Check the value of the kill-ring variable e.g. with C-h v kill-ring RET, or perhaps better, evaluate it in the *scratch* buffer with kill-ring C-j. The doc string of the variable says:

List of killed text sequences.

Since the kill ring is supposed to interact nicely with cut-and-paste facilities offered by window systems, use of this variable should interact nicely with interprogram-cut-function and interprogram-paste-function. The functions kill-new, kill-append, and current-kill are supposed to implement this interaction; you may want to use them instead of manipulating the kill ring directly.

See also the kill ring section in the Emacs Lisp manual.

2

The command counsel-yank-pop which is part of the swiper package, gives you an interactive way to browse and insert elements from you kill ring.

0

I would say what you want is provided by one of theses packages :

Spacemacs uses consel-yank-pop acessible with SPC-r-y (command already cited by @Heikki) provided by swipper. So you can also look at it.

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.