mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
doc: nvim-from-vim: Prepend "~/.vim" #6694
This commit is contained in:

committed by
Justin M. Keyes

parent
b23aa1cf09
commit
8c8ea1f8f3
@@ -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`
|
||||
|
Reference in New Issue
Block a user