A minimal Neovim plugin for browsing and switching colorschemes with a Telescope UI.
It allows you to preview themes live before selecting them.
- 🔍 Telescope-powered UI for selecting colorschemes.
- 🎨 Live preview while scrolling through themes.
- ⚡ Lazy-loaded for efficiency (via Lazy.nvim).
Add the following to your Lazy.nvim configuration:
{
"Rimkomatic/switchscheme.nvim",
lazy = true,
cmd = { "SwitchColorscheme" },
dependencies = { "nvim-telescope/telescope.nvim" },
config = function()
require("switchscheme").setup()
end,
}
Then, run:
:Lazy sync
Command | Description |
---|---|
:SwitchColorscheme |
Open the colorscheme picker UI |
:ListColorschemes |
Print all available colorschemes |
:SetColorscheme <name> |
Manually apply a colorscheme |
Key | Action |
---|---|
↑ / ↓ | Navigate themes |
<CR> |
Apply selected colorscheme |
To customize switchscheme.nvim
, use:
require("switchscheme").setup({
preview = true, -- Enable live preview
layout = { width = 0.4, height = 0.4 }, -- Floating window size
})
PRs are welcome! To contribute:
- Fork the repo
- Create a new branch
- Make changes
- Submit a PR 🚀
🌟 Enjoy effortless theme switching in Neovim!