![](/images/new-backgrounds/1187596/187596109x1.webp)
VI (Visual) Editor
The vi is a text editor. It is small, powerful, and standard on most UNIX systems. The vi often frustrates new users with a unique distinction between its two modes: Command Mode and Insert/Overtype Mode. This distinction, although difficult to become accustomed to for many users, provides great power and ability to the editor. Insert/Overtype Mode is designed for inserting text only. All text manipulations and cursor moving should be done from with in Command Mode.
Entering the vi
#vi
#vi file1 file2 ...
#vi
#vi +string file #Execute ex command "string"
#vi @rcfile #Read commands from rcfile
Insert/Overtype Mode
Insert/Overtype Mode is solely for entering text. To leave one of these two modes press the [ESC] key. if you wish to enter the ESC character or any other control character while in insert mode: type
Command Mode
Entering Insert Mode
a
i
R
A
I
o
O
viSyntax
vicommands follow the general form:
n operator m object
which means:
Coaxial Networks, Inc. | Page 55 of 60 |