An open API service indexing awesome lists of open source software.

https://github.com/xitonight/matuvim

My personal Neovim configuration files based on https://nvchad.com/
https://github.com/xitonight/matuvim

material-design material-ui neovim nvchad nvchad-custom-config

Last synced: 7 months ago
JSON representation

My personal Neovim configuration files based on https://nvchad.com/

Awesome Lists containing this project

README

          


Neovim logo Matuvim

This is nothing but a really simple Neovim setup based on [NvChad](https://nvchad.com/) and [NvChad's pywal](https://github.com/NvChad/pywal) by [Axenide](https://github.com/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](https://github.com/kylechui/nvim-surround), which is not available on NvChad's default config.

**Implemented languages:**
- Bash
- CSS
- C++
- HTML
- JSON
- Lua
- LaTeX ([requirements](https://github.com/lervag/vimtex?tab=readme-ov-file#requirements) )
- Python
- Prisma scheme files
- Svelte
- Tailwindcss (classes)
- Typescript / Javascript
- Toml


Camera with Flash Screenshots









Package Installation

> [!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

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 `.bkp` and it will automatically install all the required packages.

```bash
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.


On other distros

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](https://www.gnu.org/software/stow/)
- [swww](https://github.com/LGFae/swww)
- [npm](https://www.npmjs.com), (i'd suggest to install npm through the usage of [node version manager](https://github.com/nvm-sh/nvm))
- [matugen](https://github.com/InioX/matugen)
- [python-watchdog](https://pypi.org/project/watchdog/)
- [python-toml]( https://pypi.org/project/toml/ )
- [pywal](https://github.com/dylanaraps/pywal)

Once every package has been installed, run the script:

```bash
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 `install.sh` script since you'll already find it in the install directory.


Information Usage

Now that everything's installed, every time you run `matugen image ` you'll see that neovim will use a fresh new color scheme based on your wallpaper.


Cross Mark Uninstalling

Run these commands:

```bash
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 :)


Red Heart Credits

I want to thank [Axenide](https://github.com/Axenide) for this absurdly well done plugin and for all i've learnt from him.