C-n C-y retrieves the n-last call to C-w, I think. Is there a way to show all that were saved?
3 Answers
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.
- 3,066
- 12
- 19
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-functionandinterprogram-paste-function. The functionskill-new,kill-append, andcurrent-killare 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.
- 29,717
- 3
- 27
- 44
I would say what you want is provided by one of theses packages :
- Popup-killring - Browse kill-ring with popup menu.
- Browse-kill-ring - Visually navigate kill-ring.
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.
- 43
- 7