Skip to content
Rúni H.Hansen edited this page Nov 28, 2023 · 2 revisions

colorscheme-picker.nvim

Colorscheme Picker For NeoVim

colorscheme-picker

Requirements

This plugin is dependent on telescope.nvim

Installation

Lazy

return {
  "runih/colorscheme-picker.nvim",
  dependencies = {
    "nvim-telescope/telescope.nvim",
  },
  config = function()
    local ok, colorscheme = pcall(require, "colorscheme-picker")
    if not ok then
      print("Color Picker is not loaded")
      return
    end
    colorscheme.setup({
      default_colorscheme = "bamboo",
    })
    colorscheme.set_default_colorscheme()
  end,
}

Default Mappings

Insert Mode

Mappings Action
<C-j>/<C-k> Next/previous
<C-a> Apply colorscheme
<Tab> Next colorscheme and apply the colorscheme
<S-Tab> Previous colorscheme and apply the colorscheme
<C-b> Toggle background between light and dark

Normal Mode

Mappings Action
j/k Next/previous
H/M/L Select High/Middle/Low
gg/G Select the first/last item
<CR> Confirm selection
a Apply colorscheme
t Increase transparency (NeoVide)
T Decrease transparency (NeoVide)
<Tab> Next colorscheme and apply the colorscheme
<S-Tab> Previous colorscheme and apply the colorscheme
b Toggle background between light and dark
S Save Default colorscheme

Default colorscheme file

Saved colorscheme will be stored in the file ~/.config/nvim/colorscheme.