This is nothing but a really simple Neovim setup based on NvChad and NvChad's pywal by Axenide with some tweaks.
The objective of this is to ship a bundled config with lots of languages available out of the box with LSPs, formatters, custom snippets (since i don't like the ones provided by NvChad's default config) and other really useful plugins i find to be indispensable, such as nvim-surround, which is not available on NvChad's default config.
Implemented languages:
- Bash
- CSS
- C++
- HTML
- JSON
- Lua
- LaTeX (requirements )
- Python
- Prisma scheme files
- Svelte
- Tailwindcss (classes)
- Typescript / Javascript
- Toml
Important
The script will open Neovim twice! The first time will be just after installing NvChad, you'll have to close neovim after it finishes to let the script continue and open Neovim again!
Warning
Both the scripts will use stow, so they won't copy the files to your ~/.config folder, they will only create symlinks to the files inside the cloned repo, so make sure not to delete it after the installation (unless you want to manually copy the files).
Tip
You can pass /path/to/installation
to the script to change the default install directory (~/.matuvim
)
On Arch Linux you'll only need to run the installation script, as it'll do (almost) everything for you. It'll backup the files automatically to <path/to/the/file>.bkp
and it will automatically install all the required packages.
curl -fsSLO https://raw.githubusercontent.com/Xitonight/Matuvim/main/install_arch.sh && chmod +x ./install_arch.sh && ./install_arch.sh
When Neovim opens for the second time run :MasonInstallAll
to install all LSPs, formatters and linters.
After the installation, you can delete the install_arch.sh
script since you'll already find it in the install directory.
Make sure you have installed all the required packages, else the script won't work. All the packages should be available on your Linux package manager, so install them like you would install any other package.
- GNU stow
- swww
- npm, (i'd suggest to install npm through the usage of node version manager)
- matugen
- python-watchdog
- python-toml
- pywal
Once every package has been installed, run the script:
curl -fsSLO https://raw.githubusercontent.com/Xitonight/Matuvim/main/install.sh && chmod +x ./install.sh && ./install.sh
When Neovim opens for the second time run :MasonInstallAll
to install all LSPs, formatters and linters.
After the installation, you can delete the in
69A8
stall.sh
script since you'll already find it in the install directory.
Now that everything's installed, every time you run matugen image <path_to_your_wallpaper>
you'll see that neovim will use a fresh new color scheme based on your wallpaper.
Run these commands:
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.config/matugen/templates/colors-pywal
And uninstall the packages, that's it.
If you need any help feel free to open an issue or to contact me directly :)
I want to thank Axenide for this absurdly well done plugin and for all i've learnt from him.