VCC is a fast, lightweight command-line tool designed for seamless management of Neovim colorschemes. With support for five popular themes and their variants, VCC offers a clean architecture and zero dependencies, ensuring it works effortlessly on macOS, Linux, and Windows. Custom configuration paths enhance its flexibility for users.
VCC - Neovim Color Scheme Changer
VCC is a fast and lightweight command-line interface (CLI) tool designed for managing Neovim color schemes seamlessly. With robust support for multiple popular themes and their variants, VCC enhances the visual experience of any Neovim setup.
Explore the following themes and their respective variants:
| Theme | Variants | Command |
|---|---|---|
| Catppuccin | latte, frappe, macchiato, mocha | vcc catppuccin |
| Tokyo Night | storm, night, day, moon | vcc tokyonight |
| Gruvbox | dark, light, hard, soft, material | vcc gruvbox |
| Rose Pine | main, moon, dawn | vcc rosepine |
| Kanagawa | wave, dragon, lotus | vcc kanagawa |
To apply the default variant of a theme:
vcc catppuccin
vcc tokyonight
vcc gruvbox
To apply a specific variant:
vcc catppuccin -v mocha
vcc tokyonight -v storm
vcc kanagawa -v dragon
For utilizing a custom configuration file path:
vcc catppuccin -v latte -p ~/.config/nvim/colors/my-theme.lua
vcc gruvbox --variant dark --path ./custom-colorscheme.lua
The following command options are available for theme commands:
| Flag | Short | Description | Example |
|---|---|---|---|
--variant | -v | Specify theme variant | -v mocha |
--path | -p | Custom config file path | -p ~/.config/nvim/colors/theme.lua |
--help | -h | Show help for command | vcc catppuccin -h |
VCC employs a clean, modular architecture that enhances its maintainability and extensibility.
vcc/
├── cmd/ # Command definitions
│ ├── catppuccin.go # Catppuccin theme command
│ ├── tokyonight.go # Tokyo Night theme command
│ ├── gruvbox.go # Gruvbox theme command
│ ├── rosepine.go # Rose Pine theme command
│ ├── kanagawa.go # Kanagawa theme command
│ └── root.go # Root command
├── utils/ # Utility functions
│ ├── variants.go # Theme variant management
│ └── config/ # Configuration file writers
│ ├── common.go # Unified path management
│ ├── catppuccinFile.go
│ ├── tokyonightFile.go
│ ├── gruvboxFile.go
│ ├── rosepineFile.go
│ └── kanagawaFile.go
└── main.go # Application entry point
VCC generates Neovim configuration files in Lua format that are compatible with lazy.nvim.
For more information on lazy.nvim, visit the lazy.nvim GitHub repository.
return {
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
config = function()
require("catppuccin").setup({ flavour = "mocha" })
vim.cmd.colorscheme("catppuccin")
end,
},
}
For developers interested in contributing to VCC or adding new themes, the process is straightforward:
utils/variants.go.utils/config/newthemeFile.go.cmd/newtheme.go.VCC is designed for efficient performance and a user-friendly experience, making it an essential tool for managing color schemes in Neovim.
No comments yet.
Sign in to be the first to comment.