A config for Neovim based on NvChad tuned for my personal use.
- LSP support with Mason-lspconfig in automode handling the language servers.
- Treesitter for syntax highlighting and code folding.
- Treesitter extra definitions for correctly parsing mdx files.
- Angular lsp correctly working with mono-repo projects.
- Harpoon for quick navigation between files.
- Lazygit for git alchemy.
- Clone this repo to
~/.config/nvim
:
git clone https://github.com/Razkaroth/nvchad.git ~/.config/nvim
Requirements:
- Neovim (I use latest).
- Node.js
- Python3
- Make or CMake (or both)
- Ripgrep
- Fzf
- gcc
What follows is the original README.md by @siduck on the NvChad repo. So that you can get an idea of what is NvChad.
-
NvChad is a neovim config written in lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime (around 0.02 secs ~ 0.07 secs). We tweak UI plugins such as telescope, nvim-tree etc well to provide an aesthetic UI experience.
-
Lazy loading is done 93% of the time meaning that plugins will not be loaded by default, they will be loaded only when required also at specific commands, events etc. This lowers the startuptime and it was like 0.07~ secs tested on an old pentium machine 1.4ghz + 4gb ram & HDD.
-
NvChad is supposed to be used with its starter config, so nvchad main repo ( this repo ) can be imported as a plugin via lazy's import feature and then you can easily use this repo's modules like autocmds etc.
Images (Click to expand!)
Fast file tree:
A fuzzy file finder, picker, sorter, previewer and much more:
- Here's a video that showcases it.
- Many beautiful themes, theme toggler by our base46 plugin
- Lightweight & performant ui plugin with NvChad UI It provides statusline modules, tabufline ( tabs + buffer manager) , beautiful cheatsheets, NvChad updater, hide & unhide terminal buffers, theme switcher and much more!
- File navigation with nvim-tree.lua
- Beautiful and configurable icons with nvim-web-devicons
- Git diffs and more with gitsigns.nvim
- NeoVim Lsp configuration with nvim-lspconfig and mason.nvim
- Autocompletion with nvim-cmp
- File searching, previewing image and text files and more with telescope.nvim.
- Syntax highlighting with nvim-treesitter
- Autoclosing braces and html tags with nvim-autopairs
- Indentlines with indent-blankline.nvim
- Useful snippets with friendly snippets + LuaSnip.
- Popup mappings keysheet whichkey.nvim
-
I (@siduck i.e creator of NvChad) in my initial days of learning to program wanted a lightweight IDE for writing code, I had a very low end system which was like 1.4ghz pentium + 4gb ram & HDD. I was into web dev stuff so many suggested me to use vscode but that thing was very heavy on my system, It took more ram than my browser! ( minimal ungoogled chromium ) so I never tried it again, sublime text was nice but the fear of using proprietary software XD for a linux user bugged me a lot. Then I tried doom-emacs which looked pretty but it was slow and I was lost within its docs, I tried lunarvim but too lazy to read the docs. Doom-emacs and lunarvim inspired me to make a config which is the prettiest + very fast and simple.
-
I'm decent at ricing i.e customizing system and making it look pretty so I posted my neovim rice on neovim subreddit, my neovim-dotfiles github repo blew up and then I had to come up with a name, I was amazed by the chad meme lol so I put NvChad as the name, the chad word in here doesnt literally mean the chad guy but in the sense such as chad linux vs windows i.e meaning superior, best etc. NvChad was made for my personal use but it gained some popularity which inspired me to make a public config i.e config usable by many and less hassle to update as everyone's going to use the same base config (NvChad) with their custom modifications (which are gitignored so that wont mess up), without the custom config stuff users would have to keep a track of every commit and copy paste git diffs to manually update nvchad.
If you like NvChad and would like to support & appreciate it via donation then I'll gladly accept it.
- Elianiva helped me with NeoVim Lua related issues many times, helped me in my initial neovim journey!
- @lorvethe for making the beautiful NvChad logo.