mirror of https://github.com/folke/lazy.nvim.git
docs: added docs on `<cr>` and `<K>`
This commit is contained in:
parent
d827d8a402
commit
1baa92f8ca
17
README.md
17
README.md
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
## ✨ Features
|
## ✨ 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.
|
- 🚀 Fast startup times thanks to automatic caching and bytecode compilation of lua modules.
|
||||||
- 💾 Partial clones instead of shallow clones
|
- 💾 Partial clones instead of shallow clones
|
||||||
- 🔌 Automatic lazy-loading of lua modules and lazy-loading on events, commands, filetypes, and key mappings.
|
- 🔌 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
|
-- you can use the VeryLazy event for things that can
|
||||||
-- load later and are not important for the initial UI
|
-- load later and are not important for rendering the initial UI
|
||||||
{ "stevearc/dressing.nvim", event = "VeryLazy" },
|
-- The event is triggered by Lazy, so it does exist :)
|
||||||
|
{ "stevearc/dressing.nvim", event = "User VeryLazy" },
|
||||||
|
|
||||||
{
|
{
|
||||||
"cshuaimin/ssr.nvim",
|
"cshuaimin/ssr.nvim",
|
||||||
|
@ -364,8 +365,14 @@ return {
|
||||||
|
|
||||||
## 🚀 Usage
|
## 🚀 Usage
|
||||||
|
|
||||||
You can manage all your plugins with the main `:Lazy` command.
|
Plugins are managed with the `:Lazy` command.
|
||||||
Alternatively you can start any operation with a specific command, sub command or API function:
|
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 -->
|
<!-- commands:start -->
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,11 @@ function M:help()
|
||||||
local View = require("lazy.view")
|
local View = require("lazy.view")
|
||||||
self:append("Help", "LazyH2"):nl():nl()
|
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()
|
self:append("Keyboard Shortcuts", "LazyH2"):nl()
|
||||||
for _, mode in ipairs(View.modes) do
|
for _, mode in ipairs(View.modes) do
|
||||||
|
|
Loading…
Reference in New Issue