vim delete FAQ: How do I delete a line in vim? (Also, how do I delete multiple lines in vim?)
To delete the current line in your vim editor, use this vim delete line command:
dd
You can use this same command to delete multiple lines in vim. Just precede the command by the number of lines you want to delete. For instance, to delete five lines in vim, use this command: