Vim yank a range of lines
If I’m currently on line 100 of a file, but I would like to copy lines 80-84 I can use the following command:
:80,84y
then press p
.
If I’m currently on line 100 of a file, but I would like to copy lines 80-84 I can use the following command:
:80,84y
then press p
.