diff options
Diffstat (limited to 'runtime/doc/starting.txt')
-rw-r--r-- | runtime/doc/starting.txt | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 1da2441929..450d2967b4 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -410,20 +410,17 @@ accordingly. Vim proceeds in this order: 3. Execute Ex commands, from environment variables and/or files An environment variable is read as one Ex command line, where multiple - commands must be separated with '|' or "<NL>". - *init.vim* *vimrc* *exrc* - A file that contains initialization commands is called a "vimrc" file. - Each line in a vimrc file is executed as an Ex command line. It is - sometimes also referred to as "exrc" file. They are the same type of - file, but "exrc" is what Vi always used, "vimrc" is a Vim specific - name, "init.vim" is Neovim specific location for vimrc file. Also see - |vimrc-intro|. - - Places for your personal initializations (see |base-directories|): - 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) + commands must be separated with '|' or <NL>. + *config* *init.vim* *vimrc* *exrc* + A file that contains initialization commands is generically called + a "vimrc" or config file. Each line in a vimrc file is executed as an + Ex command line. See also |vimrc-intro| and |base-directories|. + + The Nvim config file is named "init.vim", located at: + Unix ~/.config/nvim/init.vim + Windows ~/AppData/Local/nvim/init.vim + Or if |$XDG_CONFIG_HOME| is defined: + $XDG_CONFIG_HOME/nvim/init.vim RECOMMENDATION: Put all your Vim configuration stuff in the $HOME/.config/nvim/ directory. That makes it easy to copy it to |