/neovim

Primary LanguageLua

My Neovim Setup

My quick and dirty Neovim setup circa 2024.

Config Files

Neovim config files are located in:

~/.config/nvim/

Or on Windows:

%LOCALAPPDATA%\nvim

Dependencies

On windows use choco or scoop to install CLI dependencies.

Run:

choco install ripgrep
choco install fd
choco install llvm
choco install mingw
choco install python3
choco install gzip
choco install unzip
choco install wget
choco install tree-sitter

Don't use winget - neovim does not like the way it symlinks rg and fd.

Initial Setup

First time opening neovim, run:

:PlugInstall
:Copilot setup

Close and re-open.

GUI

Neovim is no longer bundled with nvim-qt. You can use Neovide.

Install Neovide (it's fine to use winget for this):

winget install neovide

or on Mac:

brew install neovide

On Windows you can set up right click context menu:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Neovim]
@="Edit with Neovim"
"Icon"="\"C:\\Program Files\\Neovide\\neovide.exe\""

[HKEY_CLASSES_ROOT\*\shell\Neovim\command]
@="\"C:\\Program Files\\Neovide\\neovide.exe\" \"%1\""

Plugins

Following plugins are in use.

Theme and UI

Code Hithlightighting

Fuzzy Finder & Navigation

LSP

Other

Providers

Node:

npm install neovim -g

Python:

pip install neovim

Troubleshooting

Check health:

:checkhealth

Fix the stuff in red.