aboutsummaryrefslogtreecommitdiff
path: root/man/nvim.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/nvim.1')
-rw-r--r--man/nvim.150
1 files changed, 35 insertions, 15 deletions
diff --git a/man/nvim.1 b/man/nvim.1
index 746952c2bf..968da04d52 100644
--- a/man/nvim.1
+++ b/man/nvim.1
@@ -1,4 +1,4 @@
-.Dd October 16, 2015
+.Dd November 11, 2015
.Dt NVIM 1
.Os
.Sh NAME
@@ -173,19 +173,19 @@ See
.It Fl L Op Ar file
Alias for
.Fl r .
-.It Fl u Ar nvimrc
+.It Fl u Ar vimrc
Use
-.Ar nvimrc
+.Ar vimrc
instead of the default of
-.Pa ~/.nvimrc .
+.Pa ~/.config/nvim/init.vim .
If
-.Ar nvimrc
+.Ar vimrc
is
.Cm NORC ,
do not load any initialization files (excluding plugins),
and do not attempt to parse environment variables.
If
-.Ar nvimrc
+.Ar vimrc
is
.Cm NONE ,
loading plugins is also skipped.
@@ -195,7 +195,7 @@ See
Use
.Ar shada
instead of the default of
-.Pa ~/.nvim/shada/main.shada .
+.Pa ~/.local/share/nvim/shada/main.shada .
If
.Ar shada
is
@@ -278,7 +278,7 @@ Like
.Fl c ,
but execute
.Ar command
-before processing any nvimrc.
+before processing any vimrc.
Up to 10 instances of these can be used independently from instances of
.Fl c .
.It Fl S Op Ar session
@@ -337,10 +337,24 @@ Print version information and exit.
.Sh ENVIRONMENT
.Bl -tag -width Fl
.It Ev VIM
-Used to locate various user files, such as the user's nvimrc.
+Used to locate various user files, such as the user's init.vim.
.It Ev VIMRUNTIME
Used to locate run time files, such as on-line documentation and
syntax highlighting definitions.
+.It Ev XDG_CONFIG_HOME
+Path to use for the user-local configuration directory, see
+.Sx FILES .
+Defaults to
+.Pa ~/.config
+if not set.
+.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
+.Pa ~/.local/share/nvim
+if not set.
.It Ev VIMINIT
A string of Ex commands to be executed at startup.
For example, the command to quit is
@@ -366,20 +380,26 @@ If defined, assume the host terminal supports 24 bit colors.
Has no effect in GUIs.
.El
.Sh FILES
-.Bl -tag -width Pa
-.It Pa ~/.nvimrc , ~/.nvim/nvimrc
+.Bl -tag -width "~/.config/nvim/init.vim"
+.It Pa ~/.config/nvim/init.vim
The user-local
.Nm
configuration file.
-.It Pa ~/.nvim
+See
+.Ev XDG_CONFIG_HOME
+above.
+.It Pa ~/.config/nvim
The user-local
.Nm
-run time directory.
-.It Pa /etc/nvim/nvimrc
+configuration directory.
+See
+.Ev XDG_CONFIG_HOME
+above.
+.It Pa $VIM/sysinit.vim
The system-global
.Nm
configuration file.
-.It Pa /usr/share/nvim
+.It Pa /usr/local/share/nvim
The system-global
.Nm
runtime directory.