How to Exit Vim: A Complete Guide for Beginners and Pros
SMRTR summary
Vim starts in Normal mode (not Insert mode), which confuses beginners. To exit, press Esc, then type :wq (save and quit), :q! (quit without saving), or ZZ (quick save-quit shortcut).
SMRTR provides this summary for quick context. The original article belongs to Hacker News.
Read the original article