How can I copy by specifying line numbers in vi, e.g. lines 364-757? I tried searching for this but cannot find such a command.
:364,757y should work just fine, but it is probably more common to just do something like 364GV757Gy
:364,757y
364GV757Gy
1.4m articles
1.4m replys
5 comments
57.0k users