How to Exit Vim Editor: Quit, Save, and Force Quit Commands
Vim keeps the :q you type on screen as text when the editor is in Insert mode. That is why the window looks frozen and nothing you press closes it. Press Escape once and the same two characters run as a command. Why the :q you type lands in the file as text Vim reads
How to Exit Vim Editor: Quit, Save, and Force Quit Commands Read More »