I'd like to yank a line in a register: "{register}y but without overwriting what was previously in the register. I often need to copy non-contiguous lines in a register, and I'd like to use sometimes the registers like a stack.
Example:
line1
line2
line3
I want to copy line1, by putting the cursor on it and entering "ay, then going on line3 and do "ay. Then, when I will do "ap, BOTH line1 AND line3 will be pasted.
Is this possible without plugins ? with plugins?