There are separate history lists for `:` commands, `searchpattern` and so on. These lists make it easy to reuse previously used commands. You can also customize the number of history entries that are saved.
This video is based on my "Vim Reference Guide" ebook: https://github.com/learnbyexample/vim...