docs: added diff keybindings to help page

This commit is contained in:
Folke Lemaitre 2022-12-24 11:41:01 +01:00
parent b40ec94523
commit 3352fc6265
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 8 additions and 2 deletions

View File

@ -150,8 +150,14 @@ function M:help()
self:append("Most properties can be hovered with ") self:append("Most properties can be hovered with ")
self:append("<K>", "LazySpecial") self:append("<K>", "LazySpecial")
self:append(" to open links, help files, readmes and git commits."):nl() self:append(" to open links, help files, readmes and git commits."):nl()
self:append("When hovering on a plugin anywhere else, a diff will be opened if there are updates"):nl() self
self:append("or the plugin was just updated. Otherwise the plugin webpage will open."):nl():nl() :append("When hovering with ")
:append("<K>", "LazySpecial")
:append(" on a plugin anywhere else, a diff will be opened if there are updates")
:nl()
self:append("or the plugin was just updated. Otherwise the plugin webpage will open."):nl()
self:append("Use "):append("<d>", "LazySpecial"):append(" on a commit or plugin to open the diff view"):nl()
self:nl()
self:append("Keyboard Shortcuts", "LazyH2"):nl() self:append("Keyboard Shortcuts", "LazyH2"):nl()
for _, mode in ipairs(ViewConfig.get_commands()) do for _, mode in ipairs(ViewConfig.get_commands()) do