vi/vim delete commands
x – delete current character
dw – delete current word
dd – delete current line
5dd – delete five lines
dgg – will delete everything from your current line to the top of the file.
dG – will delete from the current line to the end of file