Deleting up to a certain line in Vim June 7, 2023 by Tarik d126G Delete, line number, go. A lot of commands in Vim can be followed by a move command to specify the scope.