Alcatel-Lucent 7450 Basic System Configuration Manual page 40

Ethernet service switch /service router /extensible routing system
Hide thumbs Also See for 7450:
Table of Contents

Advertisement

VI Editor
40
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.
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 16: Searching for Text or Characters
vi Command
Description
,
Repeat the last f, F, t or T command in the reverse direction.
/
Search the file downwards for the string specified after the /.
;
Repeat the last f, F, t or T command.
?
Search the file upwards for the string specified after the ?.
Table 15: Replacing Text
Basic System Configuration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

77507950

Table of Contents