-v | Start Vim in Vi mode, just like the executable was called "vi". | help + man |
-e | Start Vim in Ex mode, just like the executable was called "ex". | help + man |
-E | Start Vim in improved Ex mode, just like the executable was called "exim". | help + man |
-s | Silent (batch) mode (only for "ex") | help + man |
-d | Diff mode (like "vimdiff") | help + man |
-y | Start Vim in easy mode, just like the executable was called "evim" or "eview". | help + man |
-R | Readonly mode (like "view") | help + man |
-Z | Restricted mode (like "rvim") | help + man |
-m | Modifications (writing files) not allowed | help + man |
-M | Modifications in text not allowed | help + man |
-b | Binary mode. | help + man |
-l | Lisp mode. | help + man |
-C | Compatible with Vi: 'compatible' | help + man |
-N | Not fully Vi compatible: 'nocompatible' | help + man |
-V N][fname | Be verbose [level N] [log messages to fname] | help |
-D | Debugging mode | help + man |
-n | No swap file, use memory only | help + man |
-r | List swap files, with information about using them for recovery. | help + man |
-L | Same as -r. | help + man |
-A | If Vim has been compiled with ARABIC support for editing right-to-left oriented files and Arabic keyboard mapping, this option starts Vim in Arabic mode, i.e. 'arabic' is set. | help + man |
-H | If Vim has been compiled with RIGHTLEFT support for editing right-to-left oriented files and Hebrew keyboard mapping, this option starts Vim in Hebrew mode, i.e. 'hkmap' and 'rightleft' are set. | help + man |
-T terminal | Tells Vim the name of the terminal you are using. | help + man |
--not-a-term | Tells Vim that the user knows that the input and/or output is not connected to a terminal. | help + man |
--ttyfail | When stdin or stdout is not a terminal (tty) then exit right away. | help + man |
--stdio-channel | Use the stdin and stdout of Vim for a channel instead of for a terminal. | help + man |
-u vimrc | Use the commands in the file {vimrc} for initializations. | help + man |
--noplugin | Don't load plugin scripts | help + man |
-p N | Open N tab pages (default: one for each file) | help |
-o N | Open N windows (default: one for each file) | help |
-O N | Like -o but split vertically | help |
--cmd command | Like using "-c", but the command is executed just before processing any vimrc file. | help + man |
-c command | {command} will be executed after the first file has been read. | help + man |
-S session | {file} will be sourced after the first file has been read. | help + man |
-w scriptout | All the characters that you type are recorded in the file {scriptout}, until you exit Vim. | help + man |
-W scriptout | Like -w, but an existing file is overwritten. | help + man |
-x | If Vim has been compiled with encryption support, use encryption when writing files. | help + man |
--remote files | Connect to a Vim server and make it edit the files given in the rest of the arguments. | help + man |
--remote-silent files | As --remote, but without the warning when no server is found. | help + man |
--remote-wait files | As --remote, but Vim does not exit until the files have been edited. | help + man |
--remote-wait-silent files | As --remote-wait, but without the warning when no server is found. | help + man |
--remote-tab -wait][-silent | As --remote, but open each file in a new tabpage. | help + man |
--remote-send keys | Connect to a Vim server and send {keys} to it. | help + man |
--remote-expr expr | Connect to a Vim server, evaluate {expr} in it and print the result on stdout. | help + man |
--serverlist | List the names of all Vim servers that can be found. | help + man |
--servername name | Send to/become the Vim server <name> | help + man |
--startuptime file | During startup write timing messages to the file {fname}. | help + man |
--log file | If Vim has been compiled with eval and channel feature, start logging and write entries to {filename}. | help + man |
-i viminfo | Specifies the filename to use when reading or writing the viminfo file, instead of the default "~/.viminfo". | help + man |
--clean | Do not use any personal configuration (vimrc, plugins, etc.). | help + man |
-h, --help, -? | Give a bit of help about the command line arguments and options. | help + man |
--version | Print version information and exit. | help + man |
-display display | Run Vim on {display}, connecting to that X server instead of the one in $DISPLAY. (in the manual page but not in --help) | man |
-f | Foreground. (in the manual page but not in --help) | man |
-F | If Vim has been compiled with FKMAP support for editing right-to-left oriented files and Farsi keyboard mapping, this option starts Vim in Farsi mode, i.e. 'fkmap' and 'rightleft' are set. (in the manual page but not in --help) | man |
-g | If Vim has been compiled with GUI support, this option enables the GUI. (in the manual page but not in --help) | man |
-nb | Become an editor server for NetBeans. (in the manual page but not in --help) | man |
-P parent-title | Win32 GUI only: Specify the title of the parent application. (in the manual page but not in --help) | man |
-U gvimrc | Use the commands in the file {gvimrc} for GUI initializations. (in the manual page but not in --help) | man |
-X | Don't connect to the X server. (in the manual page but not in --help) | man |
-Y | Don't connect to the wayland compositor (in the manual page but not in --help) | man |
--echo-wid | GTK GUI only: Echo the Window ID on stdout. (in the manual page but not in --help) | man |
--gui-dialog-file name | When using the GUI, instead of showing a dialog, write the title and message of the dialog to file {name}. (in the manual page but not in --help) | man |
--literal | Take file name arguments literally, do not expand wildcards. (in the manual page but not in --help) | man |
--nofork | Foreground. (in the manual page but not in --help) | man |
--prg-name name | Set GTK program name. (in the manual page but not in --help) | man |
--remote-tab-silent | As --remote-silent, but open each file in a new tabpage. (in the manual page but not in --help) | man |
--remote-tab-wait | As --remote-wait, but open each file in a new tabpage. (in the manual page but not in --help) | man |
--remote-tab-wait-silent | As --remote-wait-silent, but open each file in a new tabpage. (in the manual page but not in --help) | man |
--clientserver backend | Use {backend} as the backend for clientserver functionality, either "socket", "x11", or "mswin" respectively. (in the manual page but not in --help) | man |
--socketid id | GTK GUI only: Use the GtkPlug mechanism to run gVim in another window. (in the manual page but not in --help) | man |
--windowid id | Win32 GUI only: Make gVim try to use the window {id} as a parent, so that it runs inside that window. (in the manual page but not in --help) | man |