Vim is a tool that can't be used without getting familiar with it. I have been using it for a period of time. I have been forced to go from the beginning to the end, and I have been happy for a long journey. After a while, the familiar functions will change from remembering the brain to remembering the fingers. In this way, we can free up space to learn more functions, which is also one of the pleasure of using vim.
Before I used q to exit, if I accidentally knocked it back, it would become a small window. I don't know how to use it. At that time, I felt very annoying. I have no time to look at it for a few days, the original Command window is not only not annoying, but also very useful.
You can see that it displays the history of all saved commands. Move the selected command up and down in this window and press enter to execute the command again. This is really convenient for repeated complex searches/replacements.
The command window contains three key combinations:
Q: As shown in, open the command window.
Q/open the search Command window. The search command is stored separately from other commands.
CTRL + F switch to the Command window in command mode
In fact, if you already have two key combinations in command mode, you can read them in command history like the up/down arrows in bash.
CTRL + P flip to the previous command, which is equivalent to the upper arrow of Bash
CTRL + N flip to the next command, which is equivalent to the down arrow of Bash
If you have used Vim to automatically complete the process, you will find that the process is the same as the automatic process.