I want to open just the head of a large file.
I know you can use a shell command (M-! RET head file RET
), but I lose helm
completion, it opens in a separate window, and the buffer has the uninformative name of *Shell Command Output*
.
How can I open large files with head
(or something similar)?