Can’t tell you about nano, but in Vi it’s yy to copy (or yank) a line, insert a number between the y’s to copy more than one line. I.e. y5y to yank 5 lines.
Then p to paste.
Can also just use your terminals method for copy paste, just remember to hit i for insert before you paste.
Can’t tell you about nano, but in Vi it’s
yy
to copy (or yank) a line, insert a number between the y’s to copy more than one line. I.e.y5y
to yank 5 lines.Then
p
to paste.Can also just use your terminals method for copy paste, just remember to hit
i
for insert before you paste.