EasyManua.ls Logo

Alcatel-Lucent 7450 ESS-12 - Table 11: Cutting and Pasting;Deleting Text in VI; Table 12: Inserting New Text; Table 13: Moving the Cursor Within the File

Alcatel-Lucent 7450 ESS-12
537 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Page 46 7450 ESS OS Basic System Configuration Guide
Y Yank the current line into the specified buffer. If no buffer is specified, then
the general buffer is used.
Table 12: Inserting New Text
vi Command Description
A Append at the end of the current line.
I Insert from the beginning of a line.
O Enter insert mode in a new line above the current cursor position.
a Enter insert mode, the characters typed in will be inserted after the current
cursor position. A count inserts all the text that was inserted that many times.
i Enter insert mode, the characters typed in will be inserted before the current
cursor position. A count inserts all the text that was inserted that many times.
o Enter insert mode in a new line below the current cursor position.
Table 13: Moving the Cursor Within the File
vi Command Description
^B Scroll backwards one page. A count scrolls that many pages.
^D Scroll forwards half a window. A count scrolls that many lines.
^F Scroll forwards one page. A count scrolls that many pages.
^H Move the cursor one space to the left. A count moves that many spaces.
^J Move the cursor down one line in the same column. A count moves that
many lines down.
^M Move to the first character on the next line.
^N Move the cursor down one line in the same column. A count moves that
many lines down.
^P Move the cursor up one line in the same column. A count moves that many
lines up.
^U Scroll backwards half a window. A count scrolls that many lines.
Table 11: Cutting and Pasting/Deleting Text in vi (Continued)
vi Command Description

Table of Contents

Related product manuals