- Move cursor to end of file:
:$ - Move cursor to beginning of file:
gg
- Move cursor to end of line:
$ - Move cursor to beginning of current line:
0
- Delete from current position to end of line:
d$ - Delete from current position to beginning of line:
d^
- Delete from current position to end of word:
dw