4 ms·
You can also do: :10d - to delete line 10 d99d - to delete next 99 lines :10,99d - to delete lines between 10 and 99 :-4,.d - delete from 4 lines above to c
by akerro 10y ago
You can also do:
:10d - to delete line 10
d99d - to delete next 99 lines
:10,99d - to delete lines between 10 and 99
:-4,.d - delete from 4 lines above to current line
this also works with other commands
Anyone fancy playing vimgolf? http://www.vimgolf.com/ http://www.vimgolf.com/