-ttag Finds tag in the tags file, the associated file becomes the current file and the associated
command is executed. Cursor is positioned at the tag location in the file. :helptag-commands-q [errorfile]
QuickFix mode. Display the first error in errorfile. If errorfile is omitted, the value of
the 'errorfile' option is used (defaults to errors.err). Further errors can be jumped to
with the :cnext command. :helpquickfix-- End of options. Remaining arguments are treated as literal file names, including filenames
starting with hyphen (‘-’).
-e Ex mode, reading stdin as Ex commands. :helpEx-mode-E Ex mode, reading stdin as text. :helpEx-mode-es Silent (non-interactive) Ex mode, reading stdin as Ex commands. Useful for scripting because
it does NOT start a UI, unlike -e. :helpsilent-mode-Es Silent (non-interactive) Ex mode, reading stdin as text. Useful for scripting because it
does NOT start a UI, unlike -E. :helpsilent-mode-d Diff mode. Show the difference between two to eight files, similar to sdiff(1). :helpdiff-R Read-only mode. Sets the 'readonly' option. Implies -n. Buffers can still be edited, but
cannot be written to disk if already associated with a file. To overwrite a file, add an
exclamation mark to the relevant Ex command, such as :w!. :help'readonly'-m Resets the 'write' option, to disable file modifications. Writing to a file is disabled, but
buffers can still be modified.
-M Resets the 'write' and 'modifiable' options, to disable file and buffer modifications.
-b Binary mode. :helpedit-binary-A Arabic mode. Sets the 'arabic' option.
-H Hebrew mode. Sets the 'hkmap' and 'rightleft' options.
-V[N][file]
Verbose mode. Prints debug messages. N is the 'verbose' level, defaults to 10. If file is
specified, append messages to file instead of printing them. :help'verbose'-D Vimscript debug mode. Started when executing the first command from a script. :help debug-
mode
-n Disable the use of swap files. Sets the 'updatecount' option to 0. Can be useful for
editing files on a slow medium.
-r [file] Recovery mode. If file is omitted then list swap files with recovery information. Otherwise
the swap file file is used to recover a crashed session. The swap file has the same name as
the file it's associated with, but with ‘.swp’ appended. :helprecovery-L [file] Alias for -r.
-uvimrc Use vimrc instead of the default ~/.config/nvim/init.vim. If vimrc is NORC, do not load any
initialization files (except plugins). If vimrc is NONE, loading plugins is also skipped.
:helpinitialization-ishada Use shada instead of the default ~/.local/state/nvim/shada/main.shada. If shada is NONE, do
not read or write a ShaDa file. :helpshada--noplugin Skip loading plugins. Implied by -uNONE.
--clean Start Nvim with "factory defaults" (no user config and plugins, no shada). :help--clean-o[N] Open N windows stacked horizontally. If N is omitted, open one window for each file. If N
is less than the number of file arguments, allocate windows for the first N files and hide
the rest.
-O[N] Like -o, but tile windows vertically.
-p[N] Like -o, but for tab pages.
+[linenum] For the first file, position the cursor on line linenum. If linenum is omitted, position the
cursor on the last line of the file. +5 and -c5 on the command-line are equivalent to :5
inside nvim.
+/[pattern]
For the first file, position the cursor on the first occurrence of pattern. If pattern is
omitted, the most recent search pattern is used (if any). +/foo and -c/foo on the command-
line are equivalent to /foo and :/foo inside nvim. :helpsearch-pattern+command, -ccommand
Execute command after reading the first file. Up to 10 instances allowed. "+foo" and -c"foo" are equivalent.
--cmdcommand
Like -c, but execute command before processing any vimrc. Up to 10 instances of these can be
used independently from instances of -c.
-lscript [args]
Execute Lua script with optional [args] after processing any preceding Nvim startup
arguments. All [args] are treated as script arguments and are passed literally to Lua, that
is, -l stops processing of Nvim arguments. :help-l-S [session]
Execute session after the first file argument has been read. If session filename ends with
.lua it is executed as Lua instead of Vimscript. Equivalent to -c"sourcesession". session
cannot start with a hyphen (‘-’). If session is omitted then Session.vim is used, if found.
:helpsession-file-sscriptin
Read normal mode commands from scriptin. The same can be done with the command :source!scriptin. If the end of the file is reached before nvim exits, further characters are read
from the keyboard.
-wscriptout
Append all typed characters to scriptout. Can be used for creating a script to be used with
-s or :source!.
-Wscriptout
Like -w, but truncate scriptout.
--startuptimefile
During startup, append timing messages to file. Can be used to diagnose slow startup times.
--api-info Dump API metadata serialized to msgpack and exit.
--embed Use standard input and standard output as a msgpack-rpc channel. :help --embed
--headless Do not start a UI. When supplied with --embed this implies that the embedding application
does not intend to (immediately) start a UI. Also useful for "scraping" messages in a pipe.
:help --headless
--listenaddress
Start RPC server on this pipe or TCP socket.
-h, --help Print usage information and exit.
-v, --version
Print version information and exit.