Huỳnh Hiền
New member
How do I delete a specific line in Vim?
Answer
Deleting a single line in Vim editor:
First, bring your cursor to the line you want to delete. Press the “Esc” key to change the mode. Now
type, “:d”, and press “Enter” to delete the line or quickly press “dd”.
Answer
Deleting a single line in Vim editor:
First, bring your cursor to the line you want to delete. Press the “Esc” key to change the mode. Now
type, “:d”, and press “Enter” to delete the line or quickly press “dd”.