1. Click the ESC key, which means Vim is ready to accept the order.
2. Then directly tap the keyboard input command.
This step requires that you do not attempt to use the mouse to find anywhere on the screen where you want any input commands.
You just need to click the ESC key, hit the keyboard directly, then type the command, enter the line.
Also, note that the input method needs to be in English state.
Here are a variety of common commands:
1:q--Exit (if you do not do anything, you can exit directly, if you modify the content has not been saved, so it will not be returned)
2:q! --Do not save the exit (without saving, you can directly exit, that is, strong back)
3:WQ--Write file and exit
4:wq! --Force write and exit (some open files are read-only and can be used with this command)
This article comes from the blog, "How self-disciplined and free", so be sure to keep this source http://lixiaoyao666.blog.51cto.com/3027824/1929614
How do I exit the VIM editor?