G - move to the end of the file
gg - move to the beginning of the file.
u - undo the last operation.
Ctrl+r - redo the last undo.
a - Append text following current option entry
A - Append text to the end of current line
i - insert text before the current cursor position
I - insert test at the beginning of the cursor line
o - open up a new line following the current line and add text there
O - open up a new line in front of the current line and add text there
nG or :n Cursor goes to specified (n) line
$ - move cursor to the end of crrent line
0 - move cursor to the beginning of current line
reference:
https://www.maketecheasier.com/vim-keyboard-shortcuts-cheatsheet/
https://www.radford.edu/~mhtay/CPSC120/VIM_Editor_Commands.htm