2023-01-10 02:38:06 +01:00
|
|
|
local env = require("my.helpers.env")
|
|
|
|
|
|
|
|
local M = {
|
|
|
|
"glepnir/dashboard-nvim",
|
2023-02-09 06:59:58 +01:00
|
|
|
event = "VimEnter",
|
|
|
|
opts = {
|
|
|
|
theme = "hyper",
|
|
|
|
config = {
|
2023-06-04 08:12:51 +02:00
|
|
|
week_header = { enable = true },
|
|
|
|
project = { enable = false },
|
2023-02-09 06:59:58 +01:00
|
|
|
-- TODO: actually customize these
|
|
|
|
shortcut = {
|
|
|
|
{
|
|
|
|
desc = " Update",
|
|
|
|
group = "@property",
|
|
|
|
action = "Lazy update",
|
|
|
|
key = "u",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-01-10 02:38:06 +01:00
|
|
|
cond = env.vscode.not_active() and env.firenvim.not_active(),
|
2023-02-09 06:59:58 +01:00
|
|
|
dependencies = { { "nvim-tree/nvim-web-devicons" } },
|
2023-01-10 02:38:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return M
|