2023-11-07 00:50:27 +00:00
|
|
|
{lib, ...}: let
|
2024-03-24 00:14:39 +00:00
|
|
|
inherit (lib.options) mkEnableOption;
|
|
|
|
inherit (lib.nvim.binds) mkMappingOption;
|
2023-11-07 00:50:27 +00:00
|
|
|
in {
|
2023-06-04 06:41:10 +00:00
|
|
|
options.vim.utility.ccc = {
|
2023-06-05 20:10:25 +00:00
|
|
|
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>";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|