This is my emacs init file. As you see, I use command counsel-yank-pop
. And I even did a keybinding for it with:
;; =counsel-yank-pop= enhances built-in =yank-pop=.
(global-set-key (kbd "M-y") 'counsel-yank-pop)
In general, it works as a handy way to see everything in my clipboard ring and add text to regular buffers (like scratch buffer and buffers with files).
When the command is executed, I can see a list of options in the mini-buffer and choose one of them with fuzzy-matching:
Unfortunately, sometimes I want to paste something from the kill ring onto the mini-buffer space. By habit, I press M-y
while typing on the mini-buffer but this creates a contradiction that is echoed by Emacs:
Command attempted to use mini-buffer while in minibuffer
Is there a way to "dribble" this problem? Is there a way to iterate over the kill ring in the mini-buffer without using the mini-buffer?
Maybe another command? Or using another Emacs package?
I am open to broad suggestions.
Obs.: the same problem happens with yank-pop
which is a default command.
enable-recursive-minibuffers
tot
? Does that take care of your problem - it lets you use a new minibuffer (e.g. ask you some other question) when you're in the minibuffer.counsel-yank-pop
then maybe try advising it to setenable-recursive-minibuffers
tot
around it.