TecMint published a Vi / Vim tutorial for beginners.
How to Save and Exit a File in Vi / Vim Editor in Linux
In this short article, intended for Vi/Vim text editor newbies, we’ll learn a few basic commands; how to save a file after writing or modifying its content.
How to Save and Exit a File in Vi / Vim Editor in Linux