---

How to Save a File in Vim / Vi and Quit the Editor

Knowing the basics of Vim will help you if you encounter a situation where your favorite editor is not available.