Novell SUSE LINUX Professional 9.3 Update 00662644461625 ユーザーズマニュアル

製品コード
00662644461625
ページ / 304
entering
3dw
. The command
10x
deletes ten characters after the cursor position
and
20dd
deletes twenty lines.
The most important commands in last line mode are shown in Table 19.3 on the
current page.
Table 19.3: Complex Commands of the vi Editor
:q!
exits vi without saving any changes
:w
hfilenamei
saves as hfilenamei
:x
saves the modified file and exits the editor
:e
hfilenamei
edits (loads) hfilenamei
:u
undoes the last edit command
270
19.4. The vi Editor