dotfiles/home/.config/nvim/lua/plugins/dashboard.lua

34 lines
710 B
Lua
Raw Normal View History

-- Startup dashboard
2023-11-25 14:37:36 +02:00
--- @type LazyPluginSpec
return {
"glepnir/dashboard-nvim",
event = "VimEnter",
dependencies = { "kyazdani42/nvim-web-devicons" },
opts = {
2023-04-14 00:02:58 +03:00
theme = "hyper",
config = {
week_header = {
enable = true,
},
shortcut = {
{
icon = "🧲 ",
desc = "Update",
group = "@property",
action = "Lazy update",
key = "u",
2023-04-14 00:02:58 +03:00
},
},
project = {
enable = true,
limit = 8,
label = "Projects",
action = function(path)
-- "Telescope find_files cwd="
require("telescope.builtin").find_files({ cwd = path })
end,
},
2023-04-14 00:02:58 +03:00
},
},
}