Installation
Requirements
Before installing, make sure the following dependencies are available on your system.
System Dependencies
| Tool | Purpose |
|---|---|
git | Cloning the repository and installing plugins |
curl | Downloading external resources |
unzip | Extracting compressed files |
gcc | Compiling native modules |
make | Building dependencies |
Runtime Dependencies
| Tool | Purpose |
|---|---|
Node.js | Required by several plugins and LSP servers |
fd | Fast file finder used by Telescope |
ripgrep | Fast text search used by Telescope |
Language Server Protocol (LSP)
Install the appropriate language servers for the languages you work with. Each server provides IDE-like features such as autocomplete, go-to-definition, and diagnostics. The config enables these servers with vim.lsp.enable:
| Server | Language |
|---|---|
lua_ls | Lua |
clangd | C / C++ |
pyright | Python |
rust_analyzer | Rust |
html | HTML |
cssls | CSS |
ts_ls | JavaScript / TypeScript |
nil_ls | Nix |
marksman | Markdown |
Backup Existing Config
If you already have a Neovim configuration, back it up before proceeding. This ensures you can restore it later if needed.
Linux / macOS
mv ~/.config/nvim ~/.config/nvim_backupWindows (PowerShell)
Move-Item $env:LOCALAPPDATA\nvim $env:LOCALAPPDATA\nvim_backupInstallation
Clone the repository into your Neovim configuration directory.
Linux / macOS
git clone --depth 1 https://github.com/rida-hdj/nvim-simple-config.git ~/.config/nvimWindows (PowerShell)
git clone --depth 1 https://github.com/rida-hdj/nvim-simple-config.git $env:LOCALAPPDATA\nvimPost-Installation
-
Open Neovim to install
lazy.nvimand all plugins automatically:nvim -
Wait for the plugin manager to finish installing dependencies and Tree-sitter parsers.
-
Restart Neovim once installation is complete.
-
Run
:Lazyat any time to inspect, update, or clean the installed plugins.