| NVIM(1) | General Commands Manual | NVIM(1) |
nvim — edit
text
nvim |
[options] [file ...] |
nvim |
[options] - |
nvim |
[options] -t
tag |
nvim |
[options] -q
[errorfile] |
nvim is a text editor based on Vim. Start
nvim followed by any number of options and/or
files:
nvim [options] [file
...]Commands in nvim begin with colon
(‘:’). Type ":help subject" to get help on a
specific subject. Use <Tab> and CTRL-D to complete subjects
(":help cmdline-completion").
The "quickref" help section is a condensed reference of editor features:
:help quickrefIf you are new to Vim/Nvim, start with the 30-minute tutorial:
:TutorAfter installing/updating Nvim, it's a good idea to run the self-check:
:checkhealth:next and :previous
commands.-EOF, then
opens a buffer with that text. User input is read from standard error,
which should be a terminal.-t
tag:help
tag-commands-q
[errorfile]errors.err). Further errors can be jumped to with
the :cnext command. :help
quickfix---e:help
Ex-mode-E:help Ex-mode-es-e. :help silent-mode-Es-E. :help silent-mode-d:help diff-R-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-M-b:help edit-binary-A-H-V[N][file]10. If
file is specified, append messages to
file instead of printing them.
:help 'verbose'-D-n0. Can be useful for editing files on a slow
medium.-r
[file]:help recovery-L
[file]-r.-u
vimrcNORC, do not load
any initialization files (except plugins). If vimrc
is NONE, loading plugins is also skipped.
:help initialization-i
shadaNONE, do not read
or write a ShaDa file. :help shada--noplugin-u NONE.--clean:help --clean-o[N]-O[N]-o, but tile windows vertically.-p[N]-o, but for tab pages.+[linenum]+5 and -c 5 on the
command-line are equivalent to :5 inside
nvim.+/[pattern]+/foo and -c /foo on the
command-line are equivalent to /foo and
:/foo inside nvim.
:help search-pattern-c
command+foo" and
-c "foo" are equivalent.--cmd
command-c, but execute command
before processing any vimrc. Up to 10 instances of these can be used
independently from instances of -c.-l
script [args]-l stops processing of Nvim arguments.
:help -l-S
[session]-c "source session".
session cannot start with a hyphen
(‘-’). If session is omitted then
Session.vim is used, if found.
:help session-file-s
scriptin:source! scriptin. If
the end of the file is reached before nvim exits,
further characters are read from the keyboard.-w
scriptout-s or
:source!.-W
scriptout-w, but truncate
scriptout.--startuptime
file--api-info--embed--headless--listen
address-h,
--help-v,
--versionNVIM_APPNAMEnvim. :help $NVIM_APPNAMENVIM_LOG_FILEVIMVIMRUNTIMEXDG_CONFIG_HOMEXDG_STATE_HOMEXDG_CONFIG_HOME, but used to store data not
generally edited by the user, namely swap, backup, and ShaDa files.
Defaults to ~/.local/state. :help xdgXDG_DATA_HOMEXDG_CONFIG_HOME, but used to store data not
generally edited by the user, things like runtime files. Defaults to
~/.local/share. :help xdgVIMINIT:help
VIMINITSHELL:terminal,
:!, and
system().nvim configuration file.nvim configuration directory. See also
XDG_CONFIG_HOME.nvim configuration file.nvim runtime directory.Nvim was started by Thiago de Arruda. Most
of Vim was written by Bram Moolenaar. Vim is based
on Stevie, worked on by Tim Thompson,
Tony Andrews, and G.R. (Fred)
Walter. :help credits
| December 17, 2017 | Debian |