Question: what is the difference between command mode and insert mode in vi?
Answer: When one starts vi it starts in command mode. ... Insert mode is where one can actually insert text. In other words, command mode is used to move around the document, and insert mode is used to type text into the document. Commands such as: a, i, c, C, O, o and others will switch one from command mode to insert mode.