I sometimes execute commands in Vim by mistake, either in normal-, visual-, or ex-mode and have no idea what was executed.
Is it possible to see a history of executed command per mode in Vim?
I know that I can see the history of executed ex-mode commands by pressing :
(to enter ex-mode) and then use the <arrow-up>
and <arrow-down>
keys to navigate the history, but I have no idea on how to do that in normal- or visual-mode?