vi

Contents

Description

The program vi is a visual text editor for Unix. It is the de facto standard visual editor for Unix systems. A visual editor presents a full screen representation of the contents of the file in a terminal window called the screen. On the screen there is always a cursor which indicates the current insertion point. The vi editor is designed so you only need the normal typewriter keys (plus the ESC key). If you are a touch-typist you will find that, with some practice, you can do all the tasks needed to edit a file without moving your hands far from the touch-typing home keys. The arrow keys, although not needed, are frequently easier to use to move the insertion point around the file.

Since vi only uses the standard typewriter keys, it uses editor modes to know which action is assigned to each key. The two primary modes are command mode and insert mode.

You must always remember which mode you are in; thus vi takes some practice to become proficient.

It is important to remember that vi only uses the keyboard keys, and everything is done in reference to the cursor. If your terminal window is on a system having a a mouse, then the mouse has no direct relationship to the vi operation. (You can use the mouse to select text and paste it from the clipboard onto your vi screen as long as you are currently in insert mode.)

Contents

Where to Find vi

Contents

Instructions for vi

Contents

More Help

There are many thousands of web pages describing the use of vi. Here are a small sample:

If you need help quickly, you may call the IT Help Center at 831-6000 between 8 a.m. and 5 p.m., Monday through Friday. Or, you can submit a question through e-mail.

Contents

IT Help Center
Questions or Comments
University of Delaware Home Page
Last updated: September 22, 2003
This page maintained by Dean C Nairn.
Copyright © University of Delaware 2003.