Introduction

The vi (visual) editor is a full-screen editor. This means that you will be able to position the cursor to the location in the file where you want to make your changes and additions. The changes that you make will be reflected on the screen. "vi" will work with many different types of terminals if you have set the terminal type correctly before invoking the editor.

Unlike "emacs", "vi" has two modes: insert mode (in which you can enter text into a file) and command mode (in which you give commands to "vi"). "vi" also lacks the windowing and full-undo capabilities of "emacs". "vi" is, however, available on practically every Unix system.

Click here to go to the next section.

Or click here to go to the top of the chapter.