Skip to content

Easily convert and switch between different color formats.

License

Notifications You must be signed in to change notification settings

rocktimsaikia/color-switch.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-switch.nvim

Easily convert and switch between different color formats.

Note

Currently, it supports switching between HEX and RGB color formats only.
More will be supported soon. As most engineers primarily deal
with these two formats only, they are enabled by default.

Installation

Using packer here:

use {
    "rocktimsaikia/color-switch.nvim",
    config = function()
        require("color-switch")
    end
}

Usage

The plugin exposes a single command :ColorSwitch to keep the API simple and easy to use.
Combine it with your preferred key mapping in normal mode.

Example:

vim.keymap.set("n", "<Leader>cs", "<cmd>ColorSwitch<CR>")

About

Easily convert and switch between different color formats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages