diff options
| author | Naz <ndpm13@ch-naseem.com> | 2025-02-08 10:10:20 +0100 |
|---|---|---|
| committer | Naz <ndpm13@ch-naseem.com> | 2025-02-08 10:10:20 +0100 |
| commit | d8ad6897e5967197d7fdc66be64dc9b0a1d6208e (patch) | |
| tree | 9648a3c61afb7bede1f91db1707a99a327bf1a89 /lua | |
| parent | b3a657b88cabbfe2512700a5cb11181924b2a7ba (diff) | |
✨feat: add goolord/alpha-nvim plugin
Diffstat (limited to '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, +} |
