This post described how to do it in Vim, where one prefixes their copy command with "
+ <register name>
(ie k
). How can I do this in Emacs Evil-Mode?
For example, I tried the following:
yy
- copy first line to clipboardjjj
- move to some new line"kyy
- copy second line to registerk
- Move to my new region
p
- paste first line"kp
- paste second line
However, at p
, Emacs pastes my second line, as if the register was ignored and copied directly to the clipboard. Any suggestions on how to use Vim-like registers? If not, any suggestions on how to copy and paste multiple regions in Evil-Mode?