Neovim: add dashboard

This commit is contained in:
Marko Korhonen 2023-04-14 00:02:58 +03:00
parent 431cfeacb4
commit ac671aabf0
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,22 @@
return 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 = "Quit", action = "q", key = "q" },
},
},
})
end

View File

@ -203,6 +203,14 @@ local plugins = {
-- Caddyfile syntax support -- Caddyfile syntax support
"isobit/vim-caddyfile", "isobit/vim-caddyfile",
-- Startup dashboard
{
"glepnir/dashboard-nvim",
event = "VimEnter",
config = require("plugins.dashboard"),
dependencies = { { "kyazdani42/nvim-web-devicons" } },
},
} }
local lazy_opts = {} local lazy_opts = {}