Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 791 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 791 Bytes

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>")