neovim

How do I install Plugins in NeoVim Correctly


Does NeoVim have it's own config file just like vim's .vimrc ? If so where can I get that file in the home directory to make my own custom changes.


Solution

  • Both VIm 8.0 and Neovim have their own built-in package manager.

    In VIm 8.0, create the following directories:

    In Neovim, the directory structure follows the freedesktop's XDG Base Directory Specification. Your configuration file is in ~/.config/nvim/init.vim, but your plugins go into:

    See :h packages (VIm 8.0 and Neovim) for more information.