Beginning help for Vi
This is should help jump start you into vi. Here are the most
needed vi commands. You may also want to read the article
"vi.quickref.functional" in this section of hints to help understand
the modes of vi.. Note: COMMAND KEYS ARE CASE SENSITIVE!!
h move left (arrow keys also work)
j move down
k move up
l move right
^F (ctrl-f) move one screen FORWARD
^B move one screen BACK
G GO to the end of the file
o open a new line and put you in insert mode (reguardless of current position)
i enter insert mode at the cursor position
A insert at the end of the line
esc exit insert mode
x delete the character you are on
dd delete the line you are on
ZZ save changes and exit
:q quit if you don't need to save
:q! quit even if you need to save
:w write file to disk without exiting editor
These should get you started. The article "vi.quickref.functional"
mentioned above lists all known vi commands.