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