Vim yank a range of lines
October 29, 2016
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.
October 29, 2016
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.