Personal Neovim configuration files
- win32yank - Only needed to fix some clipboard functionality when using Windows and WSL. Download the zip file and extract it to a WSL Linux directory on the
$PATH
.
Clone the repository into Neovim's configuration path (referred to here as $NVIM_CONFIG
). This path is usally ~/.config/nvim
, but can differ based on the system setup. Open nvim and type echo stdpath("config")
to retreive the correct path.
export NVIM_CONFIG="${HOME}/.config/nvim" && \
mkdir -p $NVIM_CONFIG && \
git clone [email protected]:mattmccarty/nvim-config.git $NVIM_CONFIG
Once the setup is complete, open nvim and install the plugins.
- Install vim-plug
- Run
:PackerInstall
- Run
:PlugInstall
Packer is a widely used package manager for Neovim. It has been configured in the Lua files, but the plugins need to be installed by running :PackerInstall
.
Vim-plug is a package manager for Vim. Many Vim plugins can be used with Neovim, so vim-plug has been configured as well. Just like Packer, the install command :PlugInstall
needs to be executed when loading nvim for the first time. However, before the command can run, vim-plug must be installed. See their GitHub page for install instructions.
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force