We enter "colon", namely ":" (without quotation marks) will appear at the bottom of the colon, enter the command wait, I entered a WQ. Function as follows.
W: write, write
Q: quit, quit
Then Enter to save and exit the
In fact, save and exit there are two methods:
A: A last input command, input "x", it is the same, i.e., X = WQ.
B: The quickest way: After pressing the ESC, press shift + zz, or uppercase mode by switching to the ZZ, the exit can be saved, that is, by the lower capital Z. 2