Đ Đức Linh New member Jan 12, 2022 #1 How do I delete multiple lines in vi? 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.
How do I delete multiple lines in vi? 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.