Sunday, April 17, 2005

Delete a range of lines in Vim example

In vim, to delete a range of lines, e.g. lines 10 through line 290, do a:

:10,290d

4 comments:

Anonymous said...

Thanks.
Helped a lot.

Anonymous said...

Thanks a bunch, I owe you a beer :-D

Unknown said...

Thank you, that's exactly what I needed!

Anonymous said...

VIM <3