SYST13416 Chapter Notes - Chapter 4: Text Editor, Inode
Document Summary
The three modes of vi, which is a text editor for linux are command mode, input/text mode, and last line mode. Vi editor was developed in the unix environment command mode: cursor is on the top-left side of screen, you can specify commands to the terminal/editor insert(input/text) mode: helps us insert text, press i to get to insert mode. Below are a list of insert mode commands i the i command inserts text under the current cursor position. I the i command inserts text at the beginning of the current line. a the a command appends text to the right of the cursor position. A the a command appends text to the end of the line. Opening a new line: o the o command inserts a new line after the current line. O the o command inserts a new line after the current line. Replacing text (r and r) r the r command replaces a single character.