Page 48 7450 ESS OS Basic System Configuration Guide
j Move the cursor down one line.
k Move the cursor up one line.
l Move the cursor to the right one character position.
w Move the cursor forward one word. If the cursor is in the middle of a word,
move the cursor to the first character of the next word.
Table 14: Moving the Cursor Around the Screen
vi Command Description
^E Scroll forwards one line. A count scrolls that many lines.
^Y Scroll backwards one line. A count scrolls that many lines.
z Redraw the screen with the following options.
z<return> puts the
current line on the top of the screen;
z. puts the current line on the center
of the screen; and
z- puts the current line on the bottom of the screen. If
you specify a count before the
z command, it changes the current line to
the line specified. For example,
16z. puts line 16 on the center of the
screen.
Table 15: Replacing Text
vi Command Description
C Change to the end of the line from the current cursor position.
R Replace characters on the screen with a set of characters entered, ending
with the Escape key.
S Change an entire line.
c Change until
cc changes the current line. A count changes that many
lines.
r Replace one character under the cursor. Specify a count to replace a
number of characters.
s Substitute one character under the cursor, and go into insert mode. Specify
a count to substitute a number of characters. A dollar sign ($) will be put at
the last character to be substituted.
Table 13: Moving the Cursor Within the File
vi Command Description