How I can delete in VIM all text from current line to end of file?

I have very large files (more than 10Gb). I need only some lines from the top of the file. Is it possible (in vim) to delete the rest of the file (from current line to the end of file)?

5 Answers
5

Leave a Comment