Skip to main content
v doesn't go to the end of file, but until the beginning of the last line, capital V does.
Source Link
vGxVGx

Enter visual modeVisual Mode, go to endEnd of fileFile, delete.

Alternatively, you can do:

vggxVggx

To delete from the current position to the beginning of the file.

vGx

Enter visual mode, go to end of file, delete.

Alternatively, you can do:

vggx

To delete from the current position to the beginning of the file.

VGx

Enter Visual Mode, go to End of File, delete.

Alternatively, you can do:

Vggx

To delete from the current position to the beginning of the file.

Source Link

vGx

Enter visual mode, go to end of file, delete.

Alternatively, you can do:

vggx

To delete from the current position to the beginning of the file.