summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-02-08 10:10:20 +0100
committerNaz <ndpm13@ch-naseem.com>2025-02-08 10:10:20 +0100
commitd8ad6897e5967197d7fdc66be64dc9b0a1d6208e (patch)
tree9648a3c61afb7bede1f91db1707a99a327bf1a89 /lua/plugins
parentb3a657b88cabbfe2512700a5cb11181924b2a7ba (diff)
✨feat: add goolord/alpha-nvim plugin
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/alpha.lua32
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,
+}