1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-26 17:39:49 +01:00
neovim-flake/modules/utility/ccc/ccc.nix

13 lines
458 B
Nix

{lib, ...}: let
inherit (lib) mkEnableOption mkMappingOption;
in {
options.vim.utility.ccc = {
enable = mkEnableOption "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>";
};
};
}