|
3 years ago | |
---|---|---|
.github | 3 years ago | |
lua | 3 years ago | |
.gitignore | 3 years ago | |
.stylua.toml | 3 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
init.lua | 3 years ago |
README.md
NvChad
<a href="https://github.com/siduck76/NvChad"
><img
src="https://img.shields.io/github/repo-size/siduck76/NvChad?style=flat-square&label=Repo"
alt="GitHub repository size"
/>
<a href="https://github.com/siduck76/NvChad/blob/main/LICENSE"
><img
src="https://img.shields.io/github/license/siduck76/NvChad?style=flat-square&logo=GNU&label=License"
alt="License"
/>
Showcase
![](https://cdn.discordapp.com/attachments/610012460828852229/853933487295299584/unknown.png)
![](https://raw.githubusercontent.com/siduck76/dotfiles/master/rice%20flex/initialNvim1.png)
![](https://raw.githubusercontent.com/siduck76/dotfiles/master/rice%20flex/initialNvim.png)
Some theme showcases :D
Very Very Useful Lua plugins used in our config
Nvim-tree.lua
fast file tree:
Telescope-nvim
A fuzzy file finder, picker, sorter, previewer and much more:
Indent-blankline.nvim
adds indentline:
Feline.nvim
Highly configurable statusline plugin:
Nvim-bufferline.lua
As a top tabline like thing which lets me handle tabs and buffers like switching , sorting and closing them etc.
Nvim-web-devicons
Lua fork of vim devicons which lets me change icons of filetypes:
Nvim-treesitter
Better syntax highlighting for programming languages ( NvChad by default comes with Lua/bash treesitter parsers ).
without / with Treesitter:
Credits
- Elianiva helped me with neovim Lua related issues many times, NvChad wouldnt exist without his help at all!
- @lorvethe for making NvChad logo!
Features
- File navigation with Nvimtree
- Beautiful inbuilt themes
- lazy loading 90% of plugins
- managing tabs, buffers with bufferline
- autosave
- icons on nvimtree, telescope, bufferline/statusline and almost everywhere! with nvim-web-devicons
- beautiful statusline (feline.nvim)
- gitsigns (colored bars for git in my config)
- nvim-lspconfig for nvim-lsp configuration
- lspInstall for installing lsp servers easily
- nvim-cmp for autocompletion
- telescope for file finding, picking, previewing (files and even images)
- nvim-treesitter for syntax highlighting
- nvim-autopairs for autolosing braces and stuffs
- neoformat for prettifying/formatting code
- packer.nvim as package manager
- indent-blankline.Nvim for indentlines
- smooth scrolling
- luasnip for snippet plugin and snip support from VSCode custom and predefined snippets (friendly-snippets)
- Distraction free modes (modes in which statusline, tabline etc. stuff get disabled so its just the text visible in the buffer similar to goyo.vim)
- Code formatting via neoformat
- gitsigns for git diffs
- Hiding terminal buffers and unhiding + previewing them with Telescope-nvim
- Theme switcher
- Theme toggler
Bloat
- To all those who think this is probably bloated, sure it is. Bloat means different to everyone. NvChad has like 38 ~ plugins but that doesn't mean those plugins are compromising neovim's speed, snappiness, or making it slow. No matter how many plugins are added on NvChad, it wouldn't compromise speed/snappiness/make it slow or whatever since it uses packer.nvim as plugin manager. Packer.nvim lets you lazy load plugins i.e. loading plugins on certain events, mappings, sequentially loading them, etc, thus loading them only when needed. We have lazy loaded almost all the plugins so most plugins aren't loaded by default, hence not affecting neovim's startup/launch time. you can disable the plugins which you dont use in chadrc.lua
![](https://chadpaste.com/f/kdmxdabxbk.png)
TODO
It would be nice if NvChad focuses on existing plugins and config before adding new things. Some plugins like whichkey, telescope and treesitter still have basic configs! Also adding new features that'd make NvChad slow or its startup time slow wouldn't be encouraged. If that feature is really needed then it'll be mentioned in the wiki with its config.
- Debloat the config.
- Make NvChad more and more faster (reduce startup time as low as possible).
- Add more themes.
Try in docker
Try NvChad in a docker container. This will leave your current Neovim configuration untouched. Once you exit Neovim, the image is deleted.
docker run -w /root -it --rm alpine:edge sh -uelic '
apk add git nodejs neovim ripgrep alpine-sdk --update
git clone https://github.com/NvChad/NvChad ~/.config/nvim
nvim -c "autocmd User PackerComplete quitall" -c "PackerSync"
nvim
'
Chadributors
Warning
I get hearings from some plugin devs that nvchad users bring issues on discourse/reddit/matrix/gh repos etc. Please dont do that :( . Bring NvChad related issues here ONLY and dont ever bother plugin devs, THIS IS A CLEAR WARNING! 😠
💝 Support
I (siduck76) would happily accept donations but I would be upset and feel bad since Im not the only one who has worked on NvChad. NvChad has been made possible by many contributors so dividing the donations for just me feels very bad and thanks to all the plugin creators once again :'). If you enjoy using NvChad and would like to show your support truly and show your appreciation to my work then try to be a better you! Help the needy people whenever possible (in real life), do some charity.Be nice to your parents and loved ones.Do not be rude , always try to be helpful / caring to one another, stray animals. Its easier to hate now and harder to care , hate used to be rare but now you see it everywhere. Please be respectful to any software/work done by other people rather than making fun of them. Do not compare software (In a bad way). Im grateful to be even able to use neovim! But cant still be fully happy when I think there are people who barely get food to eat, starve for weeks, dont have access to proper education, comupters, basic health care facilities etc.
The following links are some donation (gofundme) links for supporting needy people. Feel free to donate if you can :