mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	 94d2b837cf
			
		
	
	
	
	
	94d2b837cf* leap: changed default binds
* leap: added changelog entry
* leap: fixing requested change
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
* Revert "leap: added changelog entry"
This reverts commit 6aac9b2580.
* leap: added changelog entry
* leap: fix inherits
---------
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
		
	
			
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			952 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			952 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {lib, ...}: let
 | |
|   inherit (lib.options) mkEnableOption mkOption;
 | |
|   inherit (lib.types) nullOr str;
 | |
| in {
 | |
|   options.vim.utility.motion.leap = {
 | |
|     enable = mkEnableOption "leap.nvim plugin (easy motion)";
 | |
| 
 | |
|     mappings = {
 | |
|       leapForwardTo = mkOption {
 | |
|         type = nullOr str;
 | |
|         description = "Leap forward to";
 | |
|         default = "<leader>ss";
 | |
|       };
 | |
|       leapBackwardTo = mkOption {
 | |
|         type = nullOr str;
 | |
|         description = "Leap backward to";
 | |
|         default = "<leader>sS";
 | |
|       };
 | |
|       leapForwardTill = mkOption {
 | |
|         type = nullOr str;
 | |
|         description = "Leap forward till";
 | |
|         default = "<leader>sx";
 | |
|       };
 | |
|       leapBackwardTill = mkOption {
 | |
|         type = nullOr str;
 | |
|         description = "Leap backward till";
 | |
|         default = "<leader>sX";
 | |
|       };
 | |
|       leapFromWindow = mkOption {
 | |
|         type = nullOr str;
 | |
|         description = "Leap from window";
 | |
|         default = "gs";
 | |
|       };
 | |
|     };
 | |
|   };
 | |
| }
 |