nvf/modules/plugins/utility/ccc/ccc.nix

15 lines
494 B
Nix
Raw Permalink Normal View History

{lib, ...}: let
2024-03-24 00:14:39 +00:00
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.binds) mkMappingOption;
in {
2023-06-04 06:41:10 +00:00
options.vim.utility.ccc = {
enable = mkEnableOption "ccc color picker for neovim";
2023-06-04 06:41:10 +00:00
mappings = {
quit = mkMappingOption "Cancel and close the UI without replace or insert" "<Esc>";
increase10 = mkMappingOption "Increase the value times delta of the slider" "<L>";
decrease10 = mkMappingOption "Decrease the value times delta of the slider" "<H>";
};
};
}