My quick and dirty Neovim setup circa 2024.
Neovim config files are located in:
~/.config/nvim/
Or on Windows:
%LOCALAPPDATA%\nvim
-
Plug - plugin manager
-
Nerd Font - a patched icon font (eg. Fira)
-
ripgrep - fast grep
-
fd - fast file search
-
tree-sitter - code parser for hilights
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
.
First time opening neovim, run:
:PlugInstall
:Copilot setup
Close and re-open.
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\""
Following plugins are in use.
Node:
npm install neovim -g
Python:
pip install neovim
Check health:
:checkhealth
Fix the stuff in red.