/nvim

Primary LanguageLua

My neovim config

For linux clone under

~/.config

For windows clone under

 ~/AppData/Local

Setup the addons via packer

Linux

git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim

Windows

git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim"

Install the plugins from nvim:

:PackerSync

If you get an error message, when you first run :PackerSync, this is normal.

Some notes about Windows

It appears that the current msi does not add a context menu entry. To change that

  • go to HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell
  • Add a key called 'Open with Neovim'
    • (optional) Create a sz value called Icon and set it to C:\Program Files\Neovim\bin\nvim-qt.exe
  • Within add a key called 'command'
  • Edit the (default) value to "C:\Program Files\Neovim\bin\nvim-qt.exe" "%1"

Reference

neovim.exe must be added to PATH CaskaydiaCove NF must be installed, so that the airline bar functions properly