0

I'm using the package consult, so after I press M-y (consult-yank-pop) without pressing C-y (yank) first, I get a list for me to choose. Say, I get the list in the kill ring as

  • a
  • b
  • c
  • d

If I navigate to "c" and hit Enter, I get "c" inserted. However, if I want to insert the "c" entry immediately again, I will still need to navigate to "c".

I'm not sure if this is the intended way of doing this. Is it possible that after I select the "c" entry, somehow I can move it to (or near) the top of the kill ring? Many thanks!

(It seems that counsel-yank-pop is doing this, but I do not how to make the appropriate adjustment.)

davyjones
  • 127
  • 5

1 Answers1

1

Is your value of consult-yank-rotate non-nil? When this variable is non-nil the yanked value should be at the top of the kill ring on the next yank.

orgtre
  • 1,012
  • 4
  • 15
  • WOW! Although I just get into the package recently, I really should have tried to update everything first. – davyjones Jan 03 '23 at 19:01