mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-24 10:09:29 +08:00
Neovim: share config between Vim and Neovim
This commit is contained in:
parent
296b5375ac
commit
86b72c4800
@ -20,6 +20,16 @@ and `$XDG_DATA_HOME` defaults to `~/.local/share`.
|
|||||||
[Working files](../README.md#handling-backup-swap-undo-and-viminfo-files) are
|
[Working files](../README.md#handling-backup-swap-undo-and-viminfo-files) are
|
||||||
put under `~/.local/share/nvim` by default.
|
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`
|
Related help: `:h nvim-configuration`
|
||||||
|
|
||||||
#### Terminal emulator
|
#### Terminal emulator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user