Update: Custom intro-screen using alpha

This commit is contained in:
psychhim
2025-10-14 14:58:19 +05:30
parent d54a663974
commit 9796478476
3 changed files with 68 additions and 50 deletions

View File

@@ -0,0 +1,18 @@
return {
'goolord/alpha-nvim',
lazy = false,
config = function()
local alpha = require 'alpha'
local dashboard = require 'alpha.themes.dashboard'
local splash = require 'ascii_splash'
dashboard.section.header.val = splash
dashboard.section.buttons.val = {
dashboard.button('e', ' New File', ':ene <BAR> startinsert <CR>'),
dashboard.button('q', ' Quit', ':qa<CR>'),
}
alpha.setup(dashboard.opts)
end,
}