vi [options] [files]A screen-oriented text editor based on ex. See Chapter 8 and Chapter 9 for more information on vi and ex. Options -c, -C, -L, -r, -R, and -t are the same as in ex.
-c commandEnter vi and execute the given vi command.
-lRun in LISP mode for editing LISP programs.
-LList filenames that were saved due to an editor or system crash.
-r fileRecover and edit file after an editor or system crash.
-RRead-only mode. Files can't be changed.
-SUse with -t to indicate that the tag file may not be sorted and to use a linear search. Solaris only.
-t tagEdit the file containing tag, and position the editor at its definition (see ctags for more information).
-wnSet default window size to n; useful when editing via a slow dial-up line.
-xSupply a key to encrypt or decrypt file using crypt. (Note that the supplied key is visible to other users via the ps command.)
-CSame as -x, but assume file began in encrypted form.
+Start vi on last line of file.
+nStart vi on line n of file.
+/patStart vi on line containing pattern pat. This option fails if nowrapscan is set in your .exrc file.