It therefore works on all unix computers. Complete documentation is available by typing man vi at the unix prompt. Starting an Editing Session vi filename where filename is the name of the file to be edited. Moves cursor up one line, same column. Moves cursor forward one character.
Moves cursor to beginning of current line.
G Moves cursor to beginning of line n . Moves the cursor to the first character of the line. Text Insertion Commands a Appends text after cursor. Terminated by escape key. A Appends text at the end of the line.