# navigate to line and type dd
#in command mode gg #takes you to the first line dG #deletes all
#In vi command mode (press ESC) dd #Deletes the currently selected line #To save the document in command mode press shift + ZZ