Vim has a lot of useful registers from which you can access the contents of various actions. There's
": for the last command in the command line,
"/ for the last search,
". for the last insert, etc...
Is there a register that stores the last action performed (i.e. what gets done when I press .)?