Neovim: share config between Vim and Neovim

This commit is contained in:
Marco Hinz 2016-02-05 12:47:42 +01:00
parent 296b5375ac
commit 86b72c4800

View File

@ -20,6 +20,16 @@ and `$XDG_DATA_HOME` defaults to `~/.local/share`.
[Working files](../README.md#handling-backup-swap-undo-and-viminfo-files) are
put under `~/.local/share/nvim` by default.
If you want to share your vimrc with Neovim, you can easily do that like this
(assuming you already put your vimrc into `~/.vim` for clearer separation):
```sh
$ cd
$ ln -s .vim .config/nvim
$ cd .vim
$ ln -s vimrc init.vim
```
Related help: `:h nvim-configuration`
#### Terminal emulator