Delete all lines from vim (Select all delete)

There are many ways to delete all the lines from a file in vim

My favorite is

:%d