Will try to keep this post alive.
!vi – executes last vi command
!! Repeats the line last entered at the shell. See history command for previous commands.
!$ Repeats the last argument for the command last used. See history command for previous commands.