What should I type in emacs to delete the file from the cursor to the end of file ?
Deleting from the cursor to the end of the file is not something I do often enough to bind to make it worth binding to a single key. I'd do this:
set-mark
)end-of-buffer
)kill-region
)Just because it combines common actions and is therefore easy to remember.
There may be a sequence that uses fewer keys, but I prefer the simple.