Table Of Contents:
U - undoes all changes to the line
ctrl+r - redoes undo
J - join the line below with the current line.
r<enter> - start a newline from that location.
. - Repeat the previous command with the '.' key.
#G - Go to a specific line number. No argument assumes end of line.
q[character] - start recording in register [character]
<do some stuff> -
q - q macro
@[character] - execute the macro
:noh
^ - beginning of line
$ - end of line
. - any character
\ - escape character
xp - Swap two characters that are side by side
m[char] - mark location in text
`[char] - return to the mark
!![command name] - executes [command name] and places output in the file
e.g. !!ls - puts output of ls into file