mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: Revise nvim-from-vim advice (#6505)
This commit is contained in:
parent
e4dcf756ae
commit
a0acb2e195
@ -16,11 +16,11 @@ differences from Vim.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
Transitioning from Vim *nvim-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
|
set runtimepath+=~/.vim,~/.vim/after
|
||||||
ln -s ~/.vim ~/.config/nvim
|
set packpath+=~/.vim
|
||||||
ln -s ~/.vimrc ~/.config/nvim/init.vim
|
source ~/.vimrc
|
||||||
<
|
<
|
||||||
Note: If your system sets `$XDG_CONFIG_HOME`, use that instead of `~/.config`
|
Note: If your system sets `$XDG_CONFIG_HOME`, use that instead of `~/.config`
|
||||||
in the code above. Nvim follows the XDG |base-directories| convention.
|
in the code above. Nvim follows the XDG |base-directories| convention.
|
||||||
|
Loading…
Reference in New Issue
Block a user