vim — How to read range of lines from a file into current buffer March 4, 2023 by Tarik :r! sed -n 147,227p /path/to/foo/foo.c