To delete everything from the current line to the end of the file, type dG. This also deletes the line on which the cursor is located.