replaced events with keys
This commit is contained in:
		
							parent
							
								
									924d5b891b
								
							
						
					
					
						commit
						99c2f7bbc8
					
				
							
								
								
									
										5
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										5
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -910,8 +910,9 @@ require('lazy').setup({
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  { -- Review undo history with a tree view
 | 
					  { -- Review undo history with a tree view
 | 
				
			||||||
    'mbbill/undotree',
 | 
					    'mbbill/undotree',
 | 
				
			||||||
    event = 'VeryLazy', -- Set the loading event to 'VeryLazy'
 | 
					    keys = {
 | 
				
			||||||
    vim.keymap.set('n', '<leader>vu', ':UndotreeToggle<CR>', { desc = 'Toggle Undotree' }),
 | 
					      {'<leader>vu', ':UndotreeToggle<CR>', desc = 'Toggle Undotree' }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
 | 
					  -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue