yy
will yank the current line without deleting it
dd
will delete the current line
p
will ‘put’ a line grabbed by either of the previous methods
OR just YP
or Yp
or yyp
Copy and paste 10 lines:
y10yp
yy
will yank the current line without deleting it
dd
will delete the current line
p
will ‘put’ a line grabbed by either of the previous methods
OR just YP
or Yp
or yyp
Copy and paste 10 lines:
y10yp