nixos/config/nvim/lua/plugins/dashboard.lua
2023-02-20 16:43:33 +00:00

39 lines
1.2 KiB
Lua

return {
"glepnir/dashboard-nvim",
event = "VimEnter",
config = function()
require("dashboard").setup {
theme = "hyper",
config = {
week_header = {
enable = true,
},
shortcut = {
{ desc = " Update", group = "@property", action = "Lazy update", key = "u" },
{
icon = "",
icon_hl = "@variable",
desc = "Files",
group = "Label",
action = "Telescope find_files",
key = "f",
},
{
desc = " Apps",
group = "DiagnosticHint",
action = "Telescope app",
key = "a",
},
{
desc = " dotfiles",
group = "Number",
action = "Telescope dotfiles",
key = "d",
},
},
},
}
end,
dependencies = { { "nvim-tree/nvim-web-devicons" } },
}