Press Esc
to switch to command mode and then type (then press Enter
):
gg
dG
gg
- moves the cursor to the top of the filedG
- deletes everything from the cursor to the bottom of the file
group: delete