2017-12-02 17:31:34 -07:00
|
|
|
.Dd December 17, 2017
|
2015-05-11 14:30:19 -07:00
|
|
|
.Dt NVIM 1
|
Remove outdated and unused manuals #2891
`nvim-[lang].1`:
The non-english manuals are completely outdated and still written in
roff, as opposed to mdoc, which is used for `nvim.1`.
Given that, they're nearly useless at the moment, and when/if they are
updated, they should probably be rewritten from scratch using `nvim.1`
as a reference.
`xxd*.1`:
xxd hasn't been in the source tree for a long time, so the manual is of
little use.
`nvimtutor*.1`:
The vimtutor script hasn't ever shipped with nvim, and the consensus
seems to be that it won't, at least in the form of an executable
installed alongside `$(PREFIX)/bin/nvim` (see #2700).
In `nvim.1`, the argument to the `.Os` macro was removed. This was done
because its only purpose was to signify that nvim and nvimtutor
were part of the "Neovim" distribution, i.e., one and the same, which
isn't applicable anymore because `nvimtutor.1` is being removed.
From the `.Os` documentation in `man mdoc`:
Os
Operating system version for display in the page footer. This is the
mandatory third macro of any mdoc file. Its syntax is as follows:
.Os [system [version]]
The optional system parameter specifies the relevant operating system or
environment. It is suggested to leave it unspecified, in which case
mandoc(1) uses its -Ios argument or, if that isn't specified either,
sysname and release as returned by uname(3).
Examples:
.Os
.Os KTH/CSC/TCS
.Os BSD 4.3
See also Dd and Dt.
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
Reviewed-by: Florian Walch <florian@fwalch.com>
Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
[ci skip]
2015-06-24 11:12:51 -07:00
|
|
|
.Os
|
2015-05-11 14:30:19 -07:00
|
|
|
.Sh NAME
|
|
|
|
.Nm nvim
|
|
|
|
.Nd edit text
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Ar options
|
|
|
|
.Op Ar file ...
|
|
|
|
.Nm
|
|
|
|
.Op Ar options
|
|
|
|
.Fl
|
|
|
|
.Nm
|
|
|
|
.Op Ar options
|
|
|
|
.Fl t Ar tag
|
|
|
|
.Nm
|
|
|
|
.Op Ar options
|
2015-08-25 20:20:39 -07:00
|
|
|
.Fl q Op Ar errorfile
|
2015-05-11 14:30:19 -07:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-08-25 20:20:39 -07:00
|
|
|
is a text editor based on Vim.
|
2018-10-12 09:52:23 -07:00
|
|
|
Start
|
|
|
|
.Nm
|
|
|
|
followed by any number of options and/or files:
|
|
|
|
.Pp
|
2018-11-15 18:00:04 -07:00
|
|
|
.Dl nvim [options] [file ...]
|
2018-10-12 09:52:23 -07:00
|
|
|
.Pp
|
|
|
|
Commands in
|
|
|
|
.Nm
|
|
|
|
begin with colon
|
2018-10-11 10:14:20 -07:00
|
|
|
.Pq Sq \&: .
|
2018-10-12 09:52:23 -07:00
|
|
|
Type ":help subject" to get help on a specific subject.
|
|
|
|
Use <Tab> and CTRL-D to complete subjects (":help cmdline\-completion").
|
|
|
|
.Pp
|
|
|
|
The "quickref" help section is a condensed reference of editor features:
|
|
|
|
.Dl :help quickref
|
2018-10-11 10:14:20 -07:00
|
|
|
.Pp
|
|
|
|
If you are new to Vim/Nvim, start with the 30-minute tutorial:
|
|
|
|
.Dl :Tutor
|
|
|
|
.Pp
|
|
|
|
After installing/updating Nvim, it's a good idea to run the self-check:
|
|
|
|
.Dl :checkhealth
|
|
|
|
.Pp
|
2015-05-11 14:30:19 -07:00
|
|
|
.Bl -tag -width Fl
|
|
|
|
.It Ar file ...
|
|
|
|
File(s) to edit.
|
2018-10-12 09:52:23 -07:00
|
|
|
Opens one buffer per file.
|
2015-05-11 14:30:19 -07:00
|
|
|
To switch between buffers, use the
|
|
|
|
.Ic :next
|
|
|
|
and
|
|
|
|
.Ic :previous
|
|
|
|
commands.
|
|
|
|
.It Fl
|
2018-10-12 09:52:23 -07:00
|
|
|
Reads text from standard input until
|
2015-05-28 17:03:47 -07:00
|
|
|
.Dv EOF ,
|
2018-10-12 09:52:23 -07:00
|
|
|
then opens a buffer with that text.
|
2018-10-11 10:14:20 -07:00
|
|
|
User input is read from standard error, which should be a terminal.
|
2018-12-31 18:55:15 -07:00
|
|
|
.El
|
2018-10-12 09:52:23 -07:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Fl
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl t Ar tag
|
2018-10-12 09:52:23 -07:00
|
|
|
Finds
|
2015-05-11 14:30:19 -07:00
|
|
|
.Ar tag
|
2018-10-12 09:52:23 -07:00
|
|
|
in the tags file, the associated file becomes the current
|
2014-07-10 21:05:51 -07:00
|
|
|
file and the associated command is executed.
|
2018-10-12 09:52:23 -07:00
|
|
|
Cursor is positioned at the tag location in the file.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help tag-commands"
|
2015-08-25 20:20:39 -07:00
|
|
|
.It Fl q Op Ar errorfile
|
2015-05-11 14:30:19 -07:00
|
|
|
QuickFix mode.
|
|
|
|
Display the first error in
|
|
|
|
.Ar errorfile .
|
2014-07-10 21:05:51 -07:00
|
|
|
If
|
2015-05-11 14:30:19 -07:00
|
|
|
.Ar errorfile
|
|
|
|
is omitted, the value of the 'errorfile' option is used (defaults to
|
|
|
|
.Cm errors.err ) .
|
|
|
|
Further errors can be jumped to with the
|
|
|
|
.Ic :cnext
|
|
|
|
command.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help quickfix"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl -
|
2018-10-11 10:14:20 -07:00
|
|
|
End of options.
|
|
|
|
Remaining arguments are treated as literal file names, including filenames starting with hyphen
|
2015-05-28 17:03:47 -07:00
|
|
|
.Pq Sq - .
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl e
|
2018-10-11 10:14:20 -07:00
|
|
|
Ex mode, reading stdin as Ex commands.
|
|
|
|
.Ic ":help Ex-mode"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl E
|
2018-10-11 10:14:20 -07:00
|
|
|
Ex mode, reading stdin as text.
|
|
|
|
.Ic :help Ex-mode
|
2017-12-02 17:31:34 -07:00
|
|
|
.It Fl es
|
2019-08-25 16:00:52 -07:00
|
|
|
Silent (non-interactive) Ex mode, reading stdin as Ex commands.
|
|
|
|
Useful for scripting because it does NOT start a UI, unlike
|
|
|
|
.Fl e .
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic :help silent-mode
|
2017-12-27 11:30:23 -07:00
|
|
|
.It Fl \&Es
|
2019-08-25 16:00:52 -07:00
|
|
|
Silent (non-interactive) Ex mode, reading stdin as text.
|
|
|
|
Useful for scripting because it does NOT start a UI, unlike
|
|
|
|
.Fl E .
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic :help silent-mode
|
2015-08-25 20:20:39 -07:00
|
|
|
.It Fl d
|
2015-05-11 14:30:19 -07:00
|
|
|
Diff mode.
|
2021-09-09 09:59:11 -07:00
|
|
|
Show the difference between two to eight files, similar to
|
2015-08-25 20:20:39 -07:00
|
|
|
.Xr sdiff 1 .
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help diff"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl R
|
2014-07-10 21:05:51 -07:00
|
|
|
Read-only mode.
|
2017-12-02 17:31:34 -07:00
|
|
|
Sets the 'readonly' option.
|
2015-05-11 14:30:19 -07:00
|
|
|
Implies
|
|
|
|
.Fl n .
|
|
|
|
Buffers can still be edited, but cannot be written to disk if already
|
|
|
|
associated with a file.
|
2017-12-02 17:31:34 -07:00
|
|
|
To overwrite a file, add an exclamation mark to the relevant Ex command, such as
|
2015-05-11 14:30:19 -07:00
|
|
|
.Ic :w! .
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help 'readonly'"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl m
|
2017-12-02 17:31:34 -07:00
|
|
|
Resets the 'write' option, to disable file modifications.
|
2015-05-11 14:30:19 -07:00
|
|
|
Writing to a file is disabled, but buffers can still be modified.
|
|
|
|
.It Fl M
|
2017-12-02 17:31:34 -07:00
|
|
|
Resets the 'write' and 'modifiable' options, to disable file and buffer
|
|
|
|
modifications.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl b
|
|
|
|
Binary mode.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help edit-binary"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl l
|
|
|
|
Lisp mode.
|
2017-12-02 17:31:34 -07:00
|
|
|
Sets the 'lisp' and 'showmatch' options.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl A
|
|
|
|
Arabic mode.
|
2017-12-02 17:31:34 -07:00
|
|
|
Sets the 'arabic' option.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl H
|
|
|
|
Hebrew mode.
|
2017-12-02 17:31:34 -07:00
|
|
|
Sets the 'hkmap' and 'rightleft' options.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl V Ns Oo Ar N Oc Ns Op Ar file
|
2015-08-25 20:20:39 -07:00
|
|
|
Verbose mode.
|
2018-10-11 10:14:20 -07:00
|
|
|
Prints debug messages.
|
2015-05-11 14:30:19 -07:00
|
|
|
.Ar N
|
2018-10-11 10:14:20 -07:00
|
|
|
is the 'verbose' level, defaults to
|
|
|
|
.Cm 10 .
|
2015-05-11 14:30:19 -07:00
|
|
|
If
|
|
|
|
.Ar file
|
|
|
|
is specified, append messages to
|
|
|
|
.Ar file
|
|
|
|
instead of printing them.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help 'verbose'"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl D
|
2018-10-11 10:14:20 -07:00
|
|
|
Debug mode for VimL (Vim script).
|
2015-05-11 14:30:19 -07:00
|
|
|
Started when executing the first command from a script.
|
2018-10-11 10:14:20 -07:00
|
|
|
:help debug-mode
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl n
|
|
|
|
Disable the use of swap files.
|
2017-12-02 17:31:34 -07:00
|
|
|
Sets the 'updatecount' option to
|
2015-05-11 14:30:19 -07:00
|
|
|
.Cm 0 .
|
2017-12-02 17:31:34 -07:00
|
|
|
Can be useful for editing files on a slow medium.
|
2015-08-25 20:20:39 -07:00
|
|
|
.It Fl r Op Ar file
|
2015-05-11 14:30:19 -07:00
|
|
|
Recovery mode.
|
2015-08-25 20:20:39 -07:00
|
|
|
If
|
|
|
|
.Ar file
|
|
|
|
is omitted
|
|
|
|
then list swap files with recovery information.
|
|
|
|
Otherwise the swap file
|
2015-05-11 14:30:19 -07:00
|
|
|
.Ar file
|
|
|
|
is used to recover a crashed session.
|
2015-08-25 20:20:39 -07:00
|
|
|
The swap file has the same name as the file it's associated with, but with
|
2015-05-28 17:03:47 -07:00
|
|
|
.Sq .swp
|
|
|
|
appended.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help recovery"
|
2015-08-25 20:20:39 -07:00
|
|
|
.It Fl L Op Ar file
|
|
|
|
Alias for
|
|
|
|
.Fl r .
|
2015-11-10 17:00:04 -07:00
|
|
|
.It Fl u Ar vimrc
|
2015-05-11 14:30:19 -07:00
|
|
|
Use
|
2015-11-10 17:00:04 -07:00
|
|
|
.Ar vimrc
|
2017-12-02 17:31:34 -07:00
|
|
|
instead of the default
|
2015-10-26 14:15:09 -07:00
|
|
|
.Pa ~/.config/nvim/init.vim .
|
2015-05-11 14:30:19 -07:00
|
|
|
If
|
2015-11-10 17:00:04 -07:00
|
|
|
.Ar vimrc
|
2015-05-11 14:30:19 -07:00
|
|
|
is
|
|
|
|
.Cm NORC ,
|
2021-11-22 04:00:04 -07:00
|
|
|
do not load any initialization files (except plugins).
|
2015-05-11 14:30:19 -07:00
|
|
|
If
|
2015-11-10 17:00:04 -07:00
|
|
|
.Ar vimrc
|
2015-05-11 14:30:19 -07:00
|
|
|
is
|
|
|
|
.Cm NONE ,
|
|
|
|
loading plugins is also skipped.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help initialization"
|
2015-07-05 16:16:05 -07:00
|
|
|
.It Fl i Ar shada
|
2015-05-11 14:30:19 -07:00
|
|
|
Use
|
2015-07-05 16:16:05 -07:00
|
|
|
.Ar shada
|
2017-12-02 17:31:34 -07:00
|
|
|
instead of the default
|
2015-10-26 14:15:09 -07:00
|
|
|
.Pa ~/.local/share/nvim/shada/main.shada .
|
2015-05-11 14:30:19 -07:00
|
|
|
If
|
2015-07-05 16:16:05 -07:00
|
|
|
.Ar shada
|
2015-05-11 14:30:19 -07:00
|
|
|
is
|
|
|
|
.Cm NONE ,
|
2015-07-05 16:16:05 -07:00
|
|
|
do not read or write a ShaDa file.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help shada"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl -noplugin
|
|
|
|
Skip loading plugins.
|
|
|
|
Implied by
|
|
|
|
.Cm -u NONE .
|
2019-04-15 12:15:36 -07:00
|
|
|
.It Fl -clean
|
2021-10-25 16:03:14 -07:00
|
|
|
Mimic a fresh install of Nvim. Skip loading non-builtin plugins and shada (viminfo) file.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl o Ns Op Ar N
|
|
|
|
Open
|
|
|
|
.Ar N
|
|
|
|
windows stacked horizontally.
|
|
|
|
If
|
|
|
|
.Ar N
|
|
|
|
is omitted, open one window for each file.
|
|
|
|
If
|
|
|
|
.Ar N
|
|
|
|
is less than the number of file arguments, allocate windows for the first
|
|
|
|
.Ar N
|
|
|
|
files and hide the rest.
|
|
|
|
.It Fl O Ns Op Ar N
|
2015-08-25 20:20:39 -07:00
|
|
|
Like
|
|
|
|
.Fl o ,
|
|
|
|
but tile windows vertically.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl p Ns Op Ar N
|
2015-08-25 20:20:39 -07:00
|
|
|
Like
|
|
|
|
.Fl o ,
|
|
|
|
but for tab pages.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Cm + Ns Op Ar linenum
|
|
|
|
For the first file, position the cursor on line
|
|
|
|
.Ar linenum .
|
|
|
|
If
|
|
|
|
.Ar linenum
|
|
|
|
is omitted, position the cursor on the last line of the file.
|
|
|
|
.Cm +5
|
|
|
|
and
|
|
|
|
.Cm -c 5
|
|
|
|
on the command-line are equivalent to
|
|
|
|
.Ic :5
|
|
|
|
inside
|
|
|
|
.Nm .
|
|
|
|
.It Cm +/ Ns Op Ar pattern
|
|
|
|
For the first file, position the cursor on the first occurrence of
|
|
|
|
.Ar pattern .
|
|
|
|
If
|
|
|
|
.Ar pattern
|
2017-12-02 17:31:34 -07:00
|
|
|
is omitted, the most recent search pattern is used (if any).
|
2015-05-11 14:30:19 -07:00
|
|
|
.Cm +/foo
|
|
|
|
and
|
|
|
|
.Cm -c /foo
|
|
|
|
on the command-line are equivalent to
|
|
|
|
.Ic /foo
|
|
|
|
and
|
|
|
|
.Ic :/foo
|
|
|
|
inside
|
|
|
|
.Nm .
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help search-pattern"
|
|
|
|
.It \fB\+\fR\fI\,command\/\fR , Fl c Ar command
|
2015-05-11 14:30:19 -07:00
|
|
|
Execute
|
|
|
|
.Ar command
|
|
|
|
after reading the first file.
|
2018-10-11 10:14:20 -07:00
|
|
|
Up to 10 instances allowed.
|
2017-12-02 17:31:34 -07:00
|
|
|
.Qq Cm +foo
|
2015-05-11 14:30:19 -07:00
|
|
|
and
|
2017-12-02 17:31:34 -07:00
|
|
|
.Cm -c \(dqfoo\(dq
|
2015-05-11 14:30:19 -07:00
|
|
|
are equivalent.
|
|
|
|
.It Fl -cmd Ar command
|
|
|
|
Like
|
|
|
|
.Fl c ,
|
|
|
|
but execute
|
|
|
|
.Ar command
|
2015-11-10 17:00:04 -07:00
|
|
|
before processing any vimrc.
|
2015-05-11 14:30:19 -07:00
|
|
|
Up to 10 instances of these can be used independently from instances of
|
|
|
|
.Fl c .
|
|
|
|
.It Fl S Op Ar session
|
|
|
|
Source
|
|
|
|
.Ar session
|
|
|
|
after the first file argument has been read.
|
|
|
|
Equivalent to
|
|
|
|
.Cm -c \(dqsource session\(dq .
|
|
|
|
.Ar session
|
2015-05-28 17:03:47 -07:00
|
|
|
cannot start with a hyphen
|
|
|
|
.Pq Sq - .
|
2015-05-11 14:30:19 -07:00
|
|
|
If
|
|
|
|
.Ar session
|
2017-12-02 17:31:34 -07:00
|
|
|
is omitted then
|
|
|
|
.Pa Session.vim
|
|
|
|
is used, if found.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help session-file"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl s Ar scriptin
|
|
|
|
Read normal mode commands from
|
|
|
|
.Ar scriptin .
|
|
|
|
The same can be done with the command
|
2017-12-27 11:30:23 -07:00
|
|
|
.Ic ":source! scriptin" .
|
2015-05-11 14:30:19 -07:00
|
|
|
If the end of the file is reached before
|
|
|
|
.Nm
|
|
|
|
exits, further characters are read from the keyboard.
|
|
|
|
.It Fl w Ar scriptout
|
|
|
|
Append all typed characters to
|
|
|
|
.Ar scriptout .
|
|
|
|
Can be used for creating a script to be used with
|
|
|
|
.Fl s
|
|
|
|
or
|
|
|
|
.Ic :source! .
|
|
|
|
.It Fl W Ar scriptout
|
|
|
|
Like
|
|
|
|
.Fl w ,
|
|
|
|
but truncate
|
|
|
|
.Ar scriptout .
|
|
|
|
.It Fl -startuptime Ar file
|
|
|
|
During startup, append timing messages to
|
|
|
|
.Ar file .
|
|
|
|
Can be used to diagnose slow startup times.
|
|
|
|
.It Fl -api-info
|
|
|
|
Dump API metadata serialized to msgpack and exit.
|
|
|
|
.It Fl -embed
|
|
|
|
Use standard input and standard output as a msgpack-rpc channel.
|
2018-10-11 10:14:20 -07:00
|
|
|
:help --embed
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl -headless
|
2018-10-11 10:14:20 -07:00
|
|
|
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
|
2018-04-08 08:20:25 -07:00
|
|
|
.It Fl -listen Ar address
|
|
|
|
Start RPC server on this pipe or TCP socket.
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Fl h , -help
|
|
|
|
Print usage information and exit.
|
|
|
|
.It Fl v , -version
|
2014-07-10 21:05:51 -07:00
|
|
|
Print version information and exit.
|
2015-05-11 14:30:19 -07:00
|
|
|
.El
|
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width Fl
|
2018-06-10 15:16:15 -07:00
|
|
|
.It Ev NVIM_LOG_FILE
|
2021-01-13 15:20:21 -07:00
|
|
|
Low-level log file, usually found at ~/.cache/nvim/log.
|
2018-10-11 10:14:20 -07:00
|
|
|
:help $NVIM_LOG_FILE
|
2015-05-28 17:03:47 -07:00
|
|
|
.It Ev VIM
|
2017-12-02 17:31:34 -07:00
|
|
|
Used to locate user files, such as init.vim.
|
2018-10-11 10:14:20 -07:00
|
|
|
System-dependent.
|
|
|
|
:help $VIM
|
2015-05-28 17:03:47 -07:00
|
|
|
.It Ev VIMRUNTIME
|
2017-12-02 17:31:34 -07:00
|
|
|
Used to locate runtime files (documentation, syntax highlighting, etc.).
|
2015-10-26 14:15:09 -07:00
|
|
|
.It Ev XDG_CONFIG_HOME
|
2018-04-08 04:06:26 -07:00
|
|
|
Path to the user-local configuration directory, see
|
2015-10-26 14:15:09 -07:00
|
|
|
.Sx FILES .
|
|
|
|
Defaults to
|
2017-12-02 17:31:34 -07:00
|
|
|
.Pa ~/.config .
|
2018-10-11 10:14:20 -07:00
|
|
|
:help xdg
|
2015-10-26 14:15:09 -07:00
|
|
|
.It Ev XDG_DATA_HOME
|
|
|
|
Like
|
|
|
|
.Ev XDG_CONFIG_HOME ,
|
|
|
|
but used to store data not generally edited by the user,
|
|
|
|
namely swap, backup, and ShaDa files.
|
|
|
|
Defaults to
|
2017-12-02 17:31:34 -07:00
|
|
|
.Pa ~/.local/share .
|
2018-10-11 10:14:20 -07:00
|
|
|
:help xdg
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Ev VIMINIT
|
2018-04-08 04:06:26 -07:00
|
|
|
Ex commands to be executed at startup.
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help VIMINIT"
|
2015-05-11 14:30:19 -07:00
|
|
|
.It Ev SHELL
|
2017-12-02 17:31:34 -07:00
|
|
|
Used to initialize the 'shell' option, which decides the default shell used by
|
|
|
|
features like
|
|
|
|
.Ic :terminal ,
|
|
|
|
.Ic :! , and
|
|
|
|
.Ic system() .
|
2015-05-11 14:30:19 -07:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
2015-10-26 14:15:09 -07:00
|
|
|
.Bl -tag -width "~/.config/nvim/init.vim"
|
|
|
|
.It Pa ~/.config/nvim/init.vim
|
2018-04-08 04:06:26 -07:00
|
|
|
User-local
|
2015-05-11 14:30:19 -07:00
|
|
|
.Nm
|
|
|
|
configuration file.
|
2015-10-26 14:15:09 -07:00
|
|
|
.It Pa ~/.config/nvim
|
2018-04-08 04:06:26 -07:00
|
|
|
User-local
|
2015-05-11 14:30:19 -07:00
|
|
|
.Nm
|
2015-10-26 14:15:09 -07:00
|
|
|
configuration directory.
|
2018-04-08 04:06:26 -07:00
|
|
|
See also
|
|
|
|
.Ev XDG_CONFIG_HOME .
|
2015-11-10 17:00:04 -07:00
|
|
|
.It Pa $VIM/sysinit.vim
|
2018-04-08 04:06:26 -07:00
|
|
|
System-global
|
2015-05-11 14:30:19 -07:00
|
|
|
.Nm
|
|
|
|
configuration file.
|
2020-02-10 05:08:19 -07:00
|
|
|
.It Pa $VIM
|
2018-04-08 04:06:26 -07:00
|
|
|
System-global
|
2015-05-11 14:30:19 -07:00
|
|
|
.Nm
|
|
|
|
runtime directory.
|
|
|
|
.El
|
|
|
|
.Sh AUTHORS
|
2018-04-08 04:06:26 -07:00
|
|
|
Nvim was started by
|
|
|
|
.An Thiago de Arruda .
|
2015-08-25 20:20:39 -07:00
|
|
|
Most of Vim was written by
|
2015-05-11 14:30:19 -07:00
|
|
|
.An -nosplit
|
2018-04-08 04:06:26 -07:00
|
|
|
.An Bram Moolenaar .
|
2015-08-25 20:20:39 -07:00
|
|
|
Vim is based on Stevie, worked on by
|
2015-05-11 14:30:19 -07:00
|
|
|
.An Tim Thompson ,
|
|
|
|
.An Tony Andrews ,
|
|
|
|
and
|
|
|
|
.An G.R. (Fred) Walter .
|
2018-10-11 10:14:20 -07:00
|
|
|
.Ic ":help credits"
|