This is my Neovim config based on NvChad, aiming to be deployed from scratch within 2 minutes.
A Neovim version later than 0.10 is required. You can install the latest released neovim from github, or you can install it with snap.
curl -L https://github.com/neovim/neovim/releases/download/v0.12.2/nvim-linux-x86_64.appimage > nvim
chmod 775 nvimThen install the config:
# Install Node.js following https://nodejs.org/en/download
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 22
# Install dependencies
sudo apt install git curl wget python3-venv ripgrep
# Clone the repository
git clone https://github.com/Dknt0/nvim-config ~/.config/nvim/ && nvim
# To install LSP plugins, type this command in nvim
:MasonInstallAllIf you are using Neovim 0.12+, you need to install the tree-sitter CLI and recompile parsers after the first launch:
# Install tree-sitter CLI (required by nvim-treesitter main branch)
npm install -g tree-sitter-cliThen in Neovim, run :TSInstallAll to compile all parsers. If you encounter highlight errors like attempt to call method 'range' (a nil value), make sure nvim-treesitter is on the main branch (not master):
cd ~/.local/share/nvim/lazy/nvim-treesitter
git checkout mainThen restart Neovim and run :TSInstallAll again.
For LaTeX:
sudo apt install latexmk zathura texlive-fonts-extra texlive-science texlive-latex-extraBelow is the original README from NvChad
This repo is supposed to used as config by NvChad users!
- The main nvchad repo (NvChad/NvChad) is used as a plugin by this repo.
- So you just import its modules , like
require "nvchad.options" , require "nvchad.mappings" - So you can delete the .git from this repo ( when you clone it locally ) or fork it :)
- Lazyvim starter https://github.com/LazyVim/starter as nvchad's starter was inspired by Lazyvim's . It made a lot of things easier!