diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2015-10-27 00:23:48 +0000 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-03-03 23:26:11 -0500 |
commit | 4bfac00aa389487c4f11d34e7a3e96e4a1116800 (patch) | |
tree | 2413d2e86c54de7ffb449232a3a9157ce83d66f8 /runtime | |
parent | 32238018e4d7fa617d291c916448f041da8aea35 (diff) | |
download | rneovim-4bfac00aa389487c4f11d34e7a3e96e4a1116800.tar.gz rneovim-4bfac00aa389487c4f11d34e7a3e96e4a1116800.tar.bz2 rneovim-4bfac00aa389487c4f11d34e7a3e96e4a1116800.zip |
Windows: XDG: Update default paths. #4403
The previous defaults were including the nvim suffix, causing it to
apear twice in the final paths.
kXDGDataHome and kXDGConfigHome are now set as %LOCALAPPDATA%,
kXDGCacheHome is set as $TEMP.
In Windows there is no distinction between configuration and data
storage, but we don't want to place all files under the same path.
get_xdg_home() now appends a different path suffix for kXDGDataHome.
- Configuration files are saved under %LOCALAPPDATA%\nvim
- Data files are saved under %LOCALAPPDATA%\nvim-data
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/starting.txt | 2 | ||||
-rw-r--r-- | runtime/doc/usr_05.txt | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index be108d4633..37593aef43 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -380,6 +380,8 @@ accordingly. Vim proceeds in this order: Places for your personal initializations: Unix $XDG_CONFIG_HOME/nvim/init.vim (default for $XDG_CONFIG_HOME is ~/.config) + Windows $XDG_CONFIG_HOME/nvim/init.vim + (default for $XDG_CONFIG_HOME is ~/AppData/Local) The files are searched in the order specified above and only the first one that is found is read. diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt index 86fcf0cc2f..5aecf33557 100644 --- a/runtime/doc/usr_05.txt +++ b/runtime/doc/usr_05.txt @@ -37,9 +37,10 @@ for you), you can edit it this way: > If you don't have a vimrc file yet, see |init.vim| to find out where you can create a vimrc file. -For Unix and Macintosh this file is always used and is recommended: +This file is always used and is recommended: - ~/.config/nvim/init.vim ~ + ~/.config/nvim/init.vim (Unix and OSX) ~ + ~/AppData/Local/nvim/init.vim (Windows) ~ The vimrc file can contain all the commands that you type after a colon. The most simple ones are for setting options. For example, if you want Vim to |