Skip to main content
1 of 2
vGx

Enter visual mode, go to end of file, delete.

Alternatively, you can do:

vggx

To delete from the current position to the beginning of the file.