From 8c8ea1f8f3ffd76a2a6a6b12530377cedd9fd82c Mon Sep 17 00:00:00 2001 From: Adam Byrtek Date: Sat, 6 May 2017 16:47:30 +0000 Subject: doc: nvim-from-vim: Prepend "~/.vim" #6694 --- runtime/doc/nvim.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/doc/nvim.txt b/runtime/doc/nvim.txt index 2256791ec4..29059f83d9 100644 --- a/runtime/doc/nvim.txt +++ b/runtime/doc/nvim.txt @@ -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` -- cgit