summaryrefslogtreecommitdiff
path: root/lua/plugins/alpha.lua
blob: 507273397d3972ef2d0409e039c8c3b82862615c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
return {
	"goolord/alpha-nvim",
	dependencies = { "nvim-tree/nvim-web-devicons" },
	config = function()
		local alpha = require("alpha")
		local dashboard = require("alpha.themes.dashboard")

		dashboard.section.header.val = {
			"",
			"",
			"",
			"",
			"",
			"",
			"███▄▄▄▄      ▄████████  ▄██████▄   ▄█    █▄   ▄█    ▄▄▄▄███▄▄▄▄  ",
			"███▀▀▀██▄   ███    ███ ███    ███ ███    ███ ███  ▄██▀▀▀███▀▀▀██▄",
			"███   ███   ███    █▀  ███    ███ ███    ███ ███▌ ███   ███   ███",
			"███   ███  ▄███▄▄▄     ███    ███ ███    ███ ███▌ ███   ███   ███",
			"███   ███ ▀▀███▀▀▀     ███    ███ ███    ███ ███▌ ███   ███   ███",
			"███   ███   ███    █▄  ███    ███ ███    ███ ███  ███   ███   ███",
			"███   ███   ███    ███ ███    ███ ███    ███ ███  ███   ███   ███",
			" ▀█   █▀    ██████████  ▀██████▀   ▀██████▀  █▀    ▀█   ███   █▀ ",
		}
		dashboard.section.buttons.val = {
			dashboard.button("n", "  new", ":ene <BAR> startinsert <CR>"),
			dashboard.button("f", "  find", ":Telescope find_files<CR>"),
			dashboard.button("r", "  recent", ":Telescope oldfiles<CR>"),
			dashboard.button("q", "  quit", ":qa<CR>"),
		}
		alpha.setup(dashboard.opts)
	end,
}