1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/dashboard.lua

45 lines
1,002 B
Lua
Raw Normal View History

2023-01-10 02:38:06 +01:00
local env = require("my.helpers.env")
local M = {
"glepnir/dashboard-nvim",
event = "VimEnter",
opts = {
theme = "hyper",
config = {
week_header = { enable = true },
project = { enable = false },
-- 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(),
dependencies = { { "nvim-tree/nvim-web-devicons" } },
2023-01-10 02:38:06 +01:00
}
return M