SyntaxFix
Write A Post
Hire A Developer
Questions
:1,.d deletes lines 1 to current. :1,.-1d deletes lines 1 to above current.
:1,.d
:1,.-1d
(Personally I'd use dgg or kdgg like the other answers, but TMTOWTDI.)
dgg
kdgg