doc: nvim-from-vim: Prepend "~/.vim" #6694

This commit is contained in:
Adam Byrtek 2017-05-06 16:47:30 +00:00 committed by Justin M. Keyes
parent b23aa1cf09
commit 8c8ea1f8f3

View File

@ -18,10 +18,10 @@ differences from Vim.
==============================================================================
Transitioning from Vim *nvim-from-vim*
To start the transition, create `~/.config/nvim/init.vim` with these contents:
To start the transition, create ~/.config/nvim/init.vim with these contents:
>
set runtimepath+=~/.vim,~/.vim/after
set packpath+=~/.vim
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
<
Note: If your system sets `$XDG_CONFIG_HOME`, use that instead of `~/.config`