© Agilent Technologies 2001–2003 Agilent 3070 System Installation Manual (MS Windows Version) 2-20
Chapter 2: MS Windows System Installation Reference: vi and vi Editor Quick Reference
vi and vi Editor
Quick Reference
See Table 2-10 for a vi and viw editor quick reference.
Keyboard keys are in { }.
NOTE
If uncertain whether to use front-slashes or
back-slashes, see Front-Slashes versus
Back-Slashes in Command Lines Containing
File Paths on page 2-8.
Table 2-10 vi and viw editor quick reference
Getting Started with vi
To Do This... Enter This in Command Mode...
Create or edit a file in a Korn shell window vi <filename>
Create or edit a file in a vi window viw <filename>
Make sure you're in command mode
{ESC}
Show if you are in command or insert mode
:set showmode
Find out what file you are in
{CTRL}g
Moving Within a File
To Do This... Enter This in Command Mode...
Move the cursor left or right h or l or arrow keys
Move the cursor up or down k or j or arrow keys
Cursor to end of line
$
Cursor to beginning of line 0 (Zero) or ^
Cursor to end of file
G