Browse and repeat Vim commands
If you typed a command in Vim's command line and want to repeat it you can open the command-line window and browse through past commands. There are two ways two do that:
From Normal mode type
From the command line after typing a colon press
In the command window you can browse up and down with HJKL and hit
return to re-run the command.