mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-03 20:22:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{lib, ...}: let
 | 
						|
  inherit (lib.options) mkEnableOption;
 | 
						|
  inherit (lib.nvim.binds) 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>";
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |