Skip to content

wsdjeg/cpicker.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpicker.nvim

GitHub License GitHub Issues or Pull Requests GitHub commit activity GitHub Release luarocks

cpicker.nvim is a lightweight color palette plugin for Neovim that supports a wide range of color models, such as HEX, RGB, HSL, HSV, CMYK, HWB, Lab, Linear RGB, XYZ, and more. Support for additional color spaces will be added in future releases.

cpicker

📦 Installation

Using nvim-plug

require('plug').add({
    {
        'wsdjeg/cpicker.nvim',
        depends = {
            { 'wsdjeg/logger.nvim' },
            { 'wsdjeg/notify.nvim' },
        },
    },
})

Then use :Plug install cpicker.nvim to install this plugin.

Using luarocks

luarocks install cpicker.nvim

⚙️ Basic Usage

  1. open color palette with specific color models.
:Cpicker rgb hsl
  1. open color palette with cursor highlight
:CpickerCursorForeground
  1. open color mixer:
:CpickerColorMix #282828 #23EF12
  1. Change the highlight of cursor position. This command will generate colorscheme patch which will be loaded when using same colorscheme.
:CpickerCursorChangeHighlight

Use :CpickerClearColorPatch command to clear colorscheme patch

🪟 Key binding

key binding description
h or <Left> reduce
l or <Right> increase
<Enter> copy

💬 Feedback

If you encounter any bugs or have suggestions, please file an issue in the issue tracker

📄 License

Licensed under GPL-3.0.

About

Color Converter for neovim

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •