Vim - Transfer/Copy/Move line into address
Example:
:5t.
–> copy text at line 5 into current line
:5,6t.
–> copy text at line 5 until line 6 into current line
:5t9
–> copy text at line 5 into line 9
:5,6t9
–> copy text at line 5 until line 6 into line 9
:-5t.
-> get text 5 lines before the current line, and paste into the current
line
:-5,-6t.
-> get text at 5 lines until 6 lines before the current line and
paste into the current line
if we want to paste into another line change the dot(.) with number of the line
Reference
:help :t
:help copy