title: delete from start to current line in vim
date: 2018-07-23
publish: true

dgg

That will delete the current line and every preceding line.

If you wanted to delete the current line through to the end of the file, that would be dG.

See https://unix.stackexchange.com/questions/13904/how-to-select-delete-until-end-of-file-in-vim-gvim for more finegrained methods.