mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	leap: changing default binds (#416)
* 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>
	
	
This commit is contained in:
		
					parent
					
						
							
								be81f19b5f
							
						
					
				
			
			
				commit
				
					
						94d2b837cf
					
				
			
		
					 3 changed files with 8 additions and 5 deletions
				
			
		|  | @ -3,7 +3,7 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.modules) mkIf mkMerge mkDefault; | ||||
|   inherit (lib.nvim.binds) mkBinding; | ||||
|   inherit (lib.nvim.dag) entryAnywhere; | ||||
| 
 | ||||
|  | @ -37,6 +37,8 @@ in { | |||
|       (mkBinding cfg.mappings.leapFromWindow "<Plug>(leap-from-window)" "Leap from window") | ||||
|     ]; | ||||
| 
 | ||||
|     vim.binds.whichKey.register."<leader>s" = mkDefault "+Leap"; | ||||
| 
 | ||||
|     vim.pluginRC.leap-nvim = entryAnywhere '' | ||||
|       require('leap').opts = { | ||||
|         max_phase_one_targets = nil, | ||||
|  |  | |||
|  | @ -9,22 +9,22 @@ in { | |||
|       leapForwardTo = mkOption { | ||||
|         type = nullOr str; | ||||
|         description = "Leap forward to"; | ||||
|         default = "s"; | ||||
|         default = "<leader>ss"; | ||||
|       }; | ||||
|       leapBackwardTo = mkOption { | ||||
|         type = nullOr str; | ||||
|         description = "Leap backward to"; | ||||
|         default = "S"; | ||||
|         default = "<leader>sS"; | ||||
|       }; | ||||
|       leapForwardTill = mkOption { | ||||
|         type = nullOr str; | ||||
|         description = "Leap forward till"; | ||||
|         default = "x"; | ||||
|         default = "<leader>sx"; | ||||
|       }; | ||||
|       leapBackwardTill = mkOption { | ||||
|         type = nullOr str; | ||||
|         description = "Leap backward till"; | ||||
|         default = "X"; | ||||
|         default = "<leader>sX"; | ||||
|       }; | ||||
|       leapFromWindow = mkOption { | ||||
|         type = nullOr str; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Soliprem
				Soliprem