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
, allowing the range to be interactively modified when you realize that you really means line 759 or so.