add delete lines method for vim