mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: nvim-from-vim: Prepend "~/.vim" #6694
This commit is contained in:
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`
|
||||
|
Loading…
Reference in New Issue
Block a user