https://github.com/rimkomatic/switchscheme.nvim
A plugin made with lua to help you get all those beautiful color schemes
https://github.com/rimkomatic/switchscheme.nvim
Last synced: 9 months ago
JSON representation
A plugin made with lua to help you get all those beautiful color schemes
- Host: GitHub
- URL: https://github.com/rimkomatic/switchscheme.nvim
- Owner: Rimkomatic
- License: apache-2.0
- Created: 2025-03-23T08:59:40.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-23T10:28:47.000Z (10 months ago)
- Last Synced: 2025-03-23T11:26:34.787Z (10 months ago)
- Language: Lua
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎨 switchscheme.nvim
A minimal Neovim plugin for browsing and switching colorschemes **with a Telescope UI**.
It allows you to preview themes live before selecting them.
## ✨ Features
- 🔍 **Telescope-powered UI** for selecting colorschemes.
- 🎨 **Live preview** while scrolling through themes.
- ⚡ **Lazy-loaded for efficiency** (via Lazy.nvim).
---
## 📦 Installation
### Using Lazy.nvim
Add the following to your Lazy.nvim configuration:
```lua
{
"Rimkomatic/switchscheme.nvim",
lazy = true,
cmd = { "SwitchColorscheme" },
dependencies = { "nvim-telescope/telescope.nvim" },
config = function()
require("switchscheme").setup()
end,
}
```
Then, run:
```sh
:Lazy sync
```
## 🚀 Usage
### Commands
| Command | Description |
|----------------------|-------------------------------------|
| `:SwitchColorscheme` | Open the colorscheme picker UI |
| `:ListColorschemes` | Print all available colorschemes |
| `:SetColorscheme ` | Manually apply a colorscheme |
### Keybindings in Telescope UI
| Key | Action |
|--------|--------------------------|
| ↑ / ↓ | Navigate themes |
| `` | Apply selected colorscheme |
---
## ⚙️ Configuration
To customize `switchscheme.nvim`, use:
```lua
require("switchscheme").setup({
preview = true, -- Enable live preview
layout = { width = 0.4, height = 0.4 }, -- Floating window size
})
```
---
## 🛠️ Contributing
PRs are welcome! To contribute:
1. Fork the repo
2. Create a new branch
3. Make changes
4. Submit a PR 🚀
---
🌟 Enjoy effortless theme switching in Neovim!