vim commands - RawIron/rawiron.github.io GitHub Wiki
The command-line history is one of 5 history lists kept by vim.
Use the arrow keys to move up and down in the list
:<up>
:<down>
Search is limited to a startswith pattern search. For example find the youngest command starting with echo, then find the second youngest:
:echo<up><up>
Set the size of the history
:set history=1000