A first reading about Vim's command line options should be $man vim
man vim
.
Vim can be started from the shell in different ways, e.g.:
$vimvim
The "normal" way, everything is default.$exex
Start in Ex mode. Go to Normal mode with the ":vi":vi
command.$viewview
Start in read-only mode. You will be protected from writing the files.$gvimgvim
gview/gview
The GUI version. Starts a new window.
Also some common options are:
-u
allows to specify a file to use as configuration file other than the.vimrc
-c
allows to specify an ex mode command to be executed after the first file was read.-w
allows to record in a file every keystrokes issued in Vim.