$ 0 0 $ vi +'<start>,<end>d' +wq <filename> View this command to comment, vote or add to favourites View all commands by daa by David Winterbottom (codeinthehole.com)