neovim-flake/modules/utility/ccc/ccc.nix

15 lines
494 B
Nix
Raw Normal View History

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