diff options
Diffstat (limited to 'lua/plugins/alpha.lua')
| -rw-r--r-- | lua/plugins/alpha.lua | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lua/plugins/alpha.lua b/lua/plugins/alpha.lua new file mode 100644 index 0000000..5072733 --- /dev/null +++ b/lua/plugins/alpha.lua @@ -0,0 +1,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, +} |
