diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-10-27 00:59:38 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-10-27 00:59:38 -0400 |
commit | 597015d765f9700ecf18804129e58f44897d0cd0 (patch) | |
tree | bdcd792f4a0b76c5ffdf9763ad3de877f45f8d8d | |
parent | 95707bf336794c7ec8991917f184c02ae873dd8c (diff) | |
parent | 6b4063fafe5401b95d1f35ecb7f8dfe0079b7450 (diff) | |
download | rneovim-597015d765f9700ecf18804129e58f44897d0cd0.tar.gz rneovim-597015d765f9700ecf18804129e58f44897d0cd0.tar.bz2 rneovim-597015d765f9700ecf18804129e58f44897d0cd0.zip |
Merge pull request #3516 from Pyrohh/manual
nvim.1: XDG update
-rw-r--r-- | man/nvim.1 | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/man/nvim.1 b/man/nvim.1 index 746952c2bf..5e109c3145 100644 --- a/man/nvim.1 +++ b/man/nvim.1 @@ -1,4 +1,4 @@ -.Dd October 16, 2015 +.Dd October 27, 2015 .Dt NVIM 1 .Os .Sh NAME @@ -177,7 +177,7 @@ Alias for Use .Ar nvimrc instead of the default of -.Pa ~/.nvimrc . +.Pa ~/.config/nvim/init.vim . If .Ar nvimrc is @@ -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 @@ -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,15 +380,21 @@ 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. +configuration directory. +See +.Ev XDG_CONFIG_HOME +above. .It Pa /etc/nvim/nvimrc The system-global .Nm |