Using registers in Vim is like having a [large] number of clipboards where you can copy and paste from whenever you want.
Here is how to use that feature.
"[register_name] to your regular copy/paste command. A
register_name could be anything (any letter or number).
- Vim copy current line to the register
- Vim paste from
- Vim copy selection to the register
w. First select some text in e.g. visual mode.