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

14 lines
435 B
Nix
Raw Normal View History

2023-06-04 08:41:10 +02:00
{lib, ...}:
with lib;
with builtins; {
options.vim.utility.ccc = {
enable = mkEnableOption "Enable ccc color picker for neovim";
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>";
};
};
}