duplicate one or more lines from one part of the document to another.
make a copy of line 6 and put it below the current line.
Note: :t.
, yyp
: duplicate the current line. but:
:t.
: does not use register.(Command-Line Mode)yyp
: use a register.(Normal Mode)
d
: to delete the visual selection.G
: to jump to the end of the file.p
: to paste the text that was deleted.