Saturday 6 June 2020

How to delete multiple lines in vim?

1. Press Esc.

2. Move the cursor to the first line you want to remove.

3. Use one of the following commands (replacing [#] with the number of lines):
[#]dd

No comments:

Post a Comment