Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
fix(dashboard): Fix shortcuts shown on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryuni committed Oct 9, 2022
1 parent 8be9cb2 commit 9d03b2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lua/doom/modules/core/doom/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ required.binds = function()
("<cmd>e %s<CR>"):format(require("doom.core.modules").source),
name = "Edit modules",
},
{
"d",
"<cmd>lua require('doom.core.functions').open_docs()<CR>",
name = "Open documentation",
},
{ "l", "<cmd>DoomReload<CR>", name = "Reload config" },
{ "r", "<cmd>DoomRollback<CR>", name = "Rollback" },
{ "R", "<cmd>DoomReport<CR>", name = "Report issue" },
Expand Down
2 changes: 1 addition & 1 deletion lua/doom/modules/features/dashboard/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ dashboard.configs["dashboard-nvim"] = function()
doom.features.dashboard.settings.entries.a = {
icon = "",
desc = "Load Last Session ",
shortcut = "SPC s r",
shortcut = "SPC q r",
action = "lua require('persistence').load({ last = true })",
}
end
Expand Down

0 comments on commit 9d03b2e

Please sign in to comment.