mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-30 22:11:09 +00:00 
			
		
		
		
	docs: added docs on <cr> and <K>
		
	This commit is contained in:
		
					parent
					
						
							
								d827d8a402
							
						
					
				
			
			
				commit
				
					
						1baa92f8ca
					
				
			
		
					 2 changed files with 17 additions and 6 deletions
				
			
		
							
								
								
									
										17
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										17
									
								
								README.md
									
										
									
									
									
								
							|  | @ -6,7 +6,7 @@ | |||
| 
 | ||||
| ## ✨ Features | ||||
| 
 | ||||
| - 📦 Manage all your Neovim plugins with a sleek and intuitive UI | ||||
| - 📦 Manage all your Neovim plugins with a powerful UI | ||||
| - 🚀 Fast startup times thanks to automatic caching and bytecode compilation of lua modules. | ||||
| - 💾 Partial clones instead of shallow clones | ||||
| - 🔌 Automatic lazy-loading of lua modules and lazy-loading on events, commands, filetypes, and key mappings. | ||||
|  | @ -200,8 +200,9 @@ return { | |||
|   }, | ||||
| 
 | ||||
|   -- you can use the VeryLazy event for things that can | ||||
|   -- load later and are not important for the initial UI | ||||
|   { "stevearc/dressing.nvim", event = "VeryLazy" }, | ||||
|   -- load later and are not important for rendering the initial UI | ||||
|   -- The event is triggered by Lazy, so it does exist :) | ||||
|   { "stevearc/dressing.nvim", event = "User VeryLazy" }, | ||||
| 
 | ||||
|   { | ||||
|     "cshuaimin/ssr.nvim", | ||||
|  | @ -364,8 +365,14 @@ return { | |||
| 
 | ||||
| ## 🚀 Usage | ||||
| 
 | ||||
| You can manage all your plugins with the main `:Lazy` command. | ||||
| Alternatively you can start any operation with a specific command, sub command or API function: | ||||
| Plugins are managed with the `:Lazy` command. | ||||
| Open the help with `<?>` to see all the key mappings. | ||||
| 
 | ||||
| You can press `<CR>` on a plugin to show its details. Most properties | ||||
| can be hovered with `<K>` to open links, help files, readmes and | ||||
| git commits. | ||||
| 
 | ||||
| Any operation can alternatively be started with a sub command or API function: | ||||
| 
 | ||||
| <!-- commands:start --> | ||||
| 
 | ||||
|  |  | |||
|  | @ -145,7 +145,11 @@ function M:help() | |||
|   local View = require("lazy.view") | ||||
|   self:append("Help", "LazyH2"):nl():nl() | ||||
| 
 | ||||
|   self:append("You can press "):append("<CR>", "LazySpecial"):append(" on a plugin to show its details."):nl():nl() | ||||
|   self:append("You can press "):append("<CR>", "LazySpecial"):append(" on a plugin to show its details."):nl() | ||||
| 
 | ||||
|   self:append("Most properties can be hovered with ") | ||||
|   self:append("<K>", "LazySpecial") | ||||
|   self:append(" to open links, help files, readmes and git commits."):nl():nl() | ||||
| 
 | ||||
|   self:append("Keyboard Shortcuts", "LazyH2"):nl() | ||||
|   for _, mode in ipairs(View.modes) do | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue