Skip to content

exosyphon/telescope-color-picker.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telescope Color Picker Extension

A telescope.nvim extension for picking colorschemes on your system that persists after selection.

Note: This plugin will write to your<nvim_config_dir>/init.lua

Usage

After invoking Telescope colors you can browse the available colors using C-j C-n or Up arrow, which will update your colorscheme on each selection. Go down using C-k C-p or Down arrow. Hit <CR> to persist your selection to the <nvim_config_dir>/init.lua file.

Requirements

Installation

require("lazy").setup(
    {
        "exosyphon/telescope-color-picker.nvim",
        dependencies = {
            { 'nvim-telescope/telescope.nvim' },
        },
        config = function()
              require("telescope").load_extension "colors"
        end,
    }
)

Add extension to Telescope (If not in config above)

require("telescope").load_extension("colors")

Run

:Telescope colors

Mappings

vim.keymap("n", "<leader>uC", "<cmd>Telescope colors<CR>", desc = { "Color Picker" })

Contributions

Suggestions, issues and patches are very much welcome.

About

Select different colorschemes using Telescope

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages