Vi text INSERT command summary text insert operation in command mode, any character entered by the user is interpreted and executed by vi as a command. If the user wants to treat the entered character as text content, first, you should switch the vi working mode from the command mode to the text input mode by using the following command: Insert command vi provides two Insert commands: the text inserted by the I and I commands starts before the cursor position, and the <Backspace> key can be used to delete incorrect input during the insertion process. At this time, the vi is inserted, and the "-- INSERT --" (INSERT) is displayed at the downlink of the screen. The I command moves the cursor to the beginning of the current line and inserts text before the cursor. The append Command vi provides two additional insert commands: the and Aa commands are used to append new text after the current position of the cursor, and the newly entered text is placed after the cursor, the original text after the cursor moves backward accordingly, and the cursor can be anywhere in a row. Unlike command A, command a moves the cursor to the end of the line from where to insert new text. When you enter command A, the cursor automatically moves to the end of the row. Use the open command to insert new lines before or after a line. Vi provides two open commands: The o and O commands will open a new line under the row where the cursor is located, and place the cursor at the beginning of the line waiting for the input text. The O command is opposite to the o command. The O command inserts a line above the line where the cursor is located, places the cursor at the beginning of the line, and waits for the input text.