Linux editors explain vi and vim | explaining vi and vim

vi is like an old-school flip phone. It is very basic and doesn't have fancy colors, but it is universally reliable. No matter what Linux system you log into anywhere in the world, vi will be installed. vim is like a modern smartphone. It stands for "Vi IMproved." It is the upgraded version that adds helpful features like coloring your code (syntax highlighting) and a multi-level undo function command Mode: Moving your cursor and cutting/pasting. Insert Mode: Actually typing your code. extended Mode: Saving, searching, and exiting 1- Open the file. (You are in Normal Mode). 2-Press i to start typing. (You are in Insert Mode). 3-Type your configuration code. 4-Press ESC when you are done typing. (Back to Normal Mode). 5-Type :wq and hit Enter to save and exit.