NET 4000 Chapter Notes - Chapter 1.2: Insert Key, Text Editor, Esc Key
Document Summary
The vi editor is a utility that creates and modifies text files. It is the standard command line text editor included with most linux distributions. Command mode is the initial mode vi uses when started. It provides commands that can cut and replace text. It is also the mode from which you access the other vi modes. Command line mode is used to load files and to save files after editing them in the file system. Edit mode is the mode that vi uses to write and edit text in the file. Insert mode adds text between the preceding and subsequent text. The table below lists some of the most common vi commands: Start vi and immediately begin working on the named file (either a new, non-existent file or an existing file). Type the vi command at the shell prompt. Toggle between insert and replace mode while in edit mode.