This guide walks you through installing and setting up your new Neovim configuration.
Before you begin, ensure you have the following installed:
-
Neovim 0.11+
- Check your version:
nvim --version - Download from: https://github.com/neovim/neovim/releases
[!IMPORTANT] This configuration requires Neovim 0.11+ for the native LSP API.
- Check your version:
-
Git
- Required for plugin management with
lazy.nvim. - Check:
git --version
- Required for plugin management with
-
A C Compiler
- Required for building
nvim-treesitterparsers. - macOS:
xcode-select --install - Linux:
sudo apt install build-essential
- Required for building
-
ripgrepandfd- For fast searching in Telescope.# macOS brew install ripgrep fd # Linux (Ubuntu/Debian) sudo apt install ripgrep fd-find
-
A Nerd Font - For icons in the UI.
- Installation: See the NERD_FONTS.md guide.
- Configuration: See the TERMINAL_SETUP.md guide.
[!TIP] We recommend Inconsolata LGC Nerd Font. You can install it on macOS with:
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-lgc-nerd-font -
lazygit- For the terminal-based Git UI.# macOS brew install lazygit
Caution
This will replace your existing Neovim configuration. Make sure to back it up first.
# Backup your current Neovim setup
mv ~/.config/nvim ~/.config/nvim.backup
mv ~/.local/share/nvim ~/.local/share/nvim.backup# Extract the zip file
unzip nvim-config.zip
# Move it to the correct location
mv nvim-config ~/.config/nvimStart Neovim:
nvimOn the first launch, lazy.nvim will automatically install all plugins. Wait for this process to complete, then restart Neovim.
After restarting, open Neovim and run:
:MasonThis opens the Mason UI. We recommend installing the following:
- LSP Servers:
typescript-language-server,lua-language-server,pyright - Formatters:
prettier,stylua,black - Linters:
eslint_d
Note
You can press i on a package in the Mason UI to install it.
-
Open a file:
nvim test.js
-
Test Manual Formatting:
- Type some unformatted code.
- Run
:Autoformator pressgAin normal mode. - The code should be formatted.
-
Test LSP:
- Hover over a symbol with
K. - Go to definition with
gd.
- Hover over a symbol with
Note
For a more detailed guide, see TROUBLESHOOTING.md.
- Plugins not loading? Run
:Lazy sync. - LSP not working? Run
:LspInfoand check:Masonto ensure the server is installed. - Icons not showing? Make sure you have installed and configured a Nerd Font as described in NERD_FONTS.md and TERMINAL_SETUP.md.
- Read the QUICKSTART.md for essential keybindings and common tasks.
- Explore the full documentation in README.md.