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?

Drew
  • 77,472
  • 10
  • 114
  • 243

3 Answers3

1

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.

Heikki
  • 3,066
  • 12
  • 19
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.

NickD
  • 29,717
  • 3
  • 27
  • 44
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.

Samusz
  • 43
  • 7