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