configure dashboard

This commit is contained in:
Andrzej Stepien 2024-03-18 22:20:57 +01:00
parent a2c13467fd
commit 4a027432a6
1 changed files with 30 additions and 1 deletions

View File

@ -3,7 +3,36 @@ return {
event = "VimEnter", event = "VimEnter",
config = function() config = function()
require("dashboard").setup({ require("dashboard").setup({
-- config theme = "hyper",
config = {
week_header = {
enable = true,
},
-- header = { "HELLO" },
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, end,
dependencies = { { "nvim-tree/nvim-web-devicons" } }, dependencies = { { "nvim-tree/nvim-web-devicons" } },