Press V, shift and arrow keys to select several rows, and then press X to delete them.
This deletion is not to delete the row selected by the cursor. How to delete the row selected by the cursor in vim (not gvim)?
Dd can delete the row where the current cursor is located. To delete multiple rows, add the number of the row to be deleted before dd