Is there a way to paste something into the minibuffer?
For example if I want to
eval-expression and paste something in there neiter
C-v or (obviously
p) will work? There has to be a way.
C-y does work, but you can also paste into the minibuffer from the default register with, e.g., M-mre" or M-mrereturn--or by searching the contents of all registers: for example M-mre
text copied a while ago.
M-m is the default
dotspacemacs-emacs-leader-key: it's similar to SPC (which is the default
dotspacemacs-leader-key), but the former is available where SPC would just insert a literal space character (like in the minibuffer). Personally, I've just set
dotspacemacs-emacs-leader-key to a very easily accessible key chord and used it everywhere instead of SPC.
As of writing, C-r doesn't access evil's registers from within the minibuffer (though it does work elsewhere).
EDIT: and if you're using ivy, M-mry (
counsel-yank-pop -- this allows you to search your kill ring, which includes a lengthier history of copied text than the evil registers) also works in the minibuffer.