How do I delete multiple lines in vi?

How do I delete multiple lines in vi?
Answer
Deleting Multiple Lines
  1. Press the Esc key to go to normal mode.
  2. Place the cursor on the first line you want to delete.
  3. Type 5dd and hit Enter to delete the next five lines.
19 июл. 2020 г.
 

Tìm kiếm

Back
Top