summaryrefslogtreecommitdiff
path: root/lua/plugins/alpha.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/alpha.lua')
-rw-r--r--lua/plugins/alpha.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/lua/plugins/alpha.lua b/lua/plugins/alpha.lua
new file mode 100644
index 0000000..0762154
--- /dev/null
+++ b/lua/plugins/alpha.lua
@@ -0,0 +1,38 @@
+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 = {
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ",
+ " ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ",
+ " ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ",
+ " ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ",
+ " ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ",
+ " ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ",
+ " ",
+ }
+
+ -- Set menu
+ dashboard.section.buttons.val = {
+ dashboard.button( "e", " > New file" , ":ene <BAR> startinsert <CR>"),
+ dashboard.button( "Ctrl-p", "󰮗 > Find file", ":Telescope find_files<CR>"),
+ dashboard.button( "q", "󰗼 > Quit NVIM", ":qa<CR>"),
+ dashboard.button("m", "󱌣 > Mason", ":Mason<CR>"),
+ }
+ alpha.setup(dashboard.opts)
+
+ end
+}