From 86b72c480010919fb50289386ff272782980ae48 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 5 Feb 2016 12:47:42 +0100 Subject: [PATCH] Neovim: share config between Vim and Neovim --- content/neovim.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/neovim.md b/content/neovim.md index fcdc397..12d5f03 100644 --- a/content/neovim.md +++ b/content/neovim.md @@ -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