Mạnh Cường
Member
How do I delete multiple lines in vi?
Answer
Deleting Multiple Lines
Answer
Deleting Multiple Lines
- Press the Esc key to go to normal mode.
- Place the cursor on the first line you want to delete.
- Type 5dd and hit Enter to delete the next five lines.