vimtricks.wiki Concise Vim tricks, one at a time.

How do you access the last executed command in Vim?

Answer

:@:

Explanation

The : register stores the last command-line command. Use @: to re-execute it or ":<C-r>: to paste it in command-line mode.

Next

How do you yank a single word into a named register?