I want to copy different strings from different lines of the file and then paste them together at once. In other words, I want to collect different words in a basket and then paste them at once. How can I do this?
Copying multiple words (from different lines) and paste them at once
cut copy paste;register
Use an uppercase register when yanking (copying):AyA says to append to the a register, as opposed to a which would replace the contents of the a register.Once you've copied everything into the register, you can then paste it all at once with:ap