From a0acb2e19521298b3d80aa1cfaaef5f476218e01 Mon Sep 17 00:00:00 2001 From: Drew Neil Date: Tue, 25 Apr 2017 10:04:32 +0100 Subject: [PATCH] doc: Revise nvim-from-vim advice (#6505) --- runtime/doc/nvim.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/doc/nvim.txt b/runtime/doc/nvim.txt index bd483e9949..8dd329cee6 100644 --- a/runtime/doc/nvim.txt +++ b/runtime/doc/nvim.txt @@ -16,11 +16,11 @@ differences from Vim. ============================================================================== Transitioning from Vim *nvim-from-vim* -To start the transition, link your previous configuration so Nvim can use it: +To start the transition, create `~/.config/nvim/init.vim` with these contents: > - mkdir ~/.config - ln -s ~/.vim ~/.config/nvim - ln -s ~/.vimrc ~/.config/nvim/init.vim + set runtimepath+=~/.vim,~/.vim/after + set packpath+=~/.vim + source ~/.vimrc < Note: If your system sets `$XDG_CONFIG_HOME`, use that instead of `~/.config` in the code above. Nvim follows the XDG |base-directories| convention.