return { -- { -- "goolord/alpha-nvim", -- event = "VimEnter", -- config = function() -- local dashboard = require("alpha.themes.dashboard") -- -- local function button(sc, txt, key, key_opts) -- local b = dashboard.button(sc, txt, key, key_opts) -- b.opts.hl_shortcut = "Macro" -- return b -- end -- -- local icons = require("lazyvim.config.icons") -- -- dashboard.section.header.val = { -- [[ , __ ___ __. _ __ ` , _ , _ ]], -- [[ |' `. .' ` .' \ | / | |' `|' `.]], -- [[ | | |----' | | ` / | | | |]], -- [[ / | `.___, `._.' \/ / / ' /]], -- } -- -- dashboard.section.buttons.val = { -- button("f", icons.documents.Files .. " Find file", ":Telescope find_files "), -- button("e", icons.ui.NewFile .. " New file", ":ene startinsert "), -- button("r", icons.ui.History .. " Recent files", ":Telescope oldfiles "), -- button("t", icons.ui.List .. " Find text", ":Telescope live_grep "), -- button("c", icons.ui.Gear .. " Config", ":e ~/.config/nvim/init.lua "), -- button("u", icons.ui.CloudDownload .. " Update", ":Lazy"), -- button("q", icons.ui.SignOut .. " Quit", ":qa"), -- } -- -- dashboard.section.footer.val = { -- [[┬┌┐┌┬┌─┬ ┌─┐┌┬┐┌┐ ┬ ┌─┐┌┬┐┌─┐┌─┐┌┬┐]], -- [[││││├┴┐│ ├┤ │ ├┴┐│ │ │ │ │ │ ││││]], -- [[┴┘└┘┴ ┴┴─┘└─┘ ┴ └─┘┴─┘└─┘ ┴o└─┘└─┘┴ ┴]], -- } -- -- dashboard.section.header.opts.hl = "Include" -- dashboard.section.buttons.opts.hl = "Macro" -- dashboard.section.footer.opts.hl = "Type" -- -- dashboard.opts.opts.noautocmd = true -- -- require("alpha").setup(dashboard.opts) -- end, -- }, }