Skip to content

Commit 3352fc6

Browse files
committed
docs: added diff keybindings to help page
1 parent b40ec94 commit 3352fc6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lua/lazy/view/render.lua

+8-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,14 @@ function M:help()
150150
self:append("Most properties can be hovered with ")
151151
self:append("<K>", "LazySpecial")
152152
self:append(" to open links, help files, readmes and git commits."):nl()
153-
self:append("When hovering on a plugin anywhere else, a diff will be opened if there are updates"):nl()
154-
self:append("or the plugin was just updated. Otherwise the plugin webpage will open."):nl():nl()
153+
self
154+
:append("When hovering with ")
155+
:append("<K>", "LazySpecial")
156+
:append(" on a plugin anywhere else, a diff will be opened if there are updates")
157+
:nl()
158+
self:append("or the plugin was just updated. Otherwise the plugin webpage will open."):nl()
159+
self:append("Use "):append("<d>", "LazySpecial"):append(" on a commit or plugin to open the diff view"):nl()
160+
self:nl()
155161

156162
self:append("Keyboard Shortcuts", "LazyH2"):nl()
157163
for _, mode in ipairs(ViewConfig.get_commands()) do

0 commit comments

Comments
 (0)