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