ESC
+ gg
+ dG
So, how does this dG command works?
gg
- Jump to the first line of the filedg
-d
is for the cut action andG
is for moving the cursor to the end of the file.- This way,
dG
cuts all the text from the current cursor position to the end of the file.