mirror of
https://github.com/hyzendust/KickestEnd.nvim.git
synced 2026-02-15 03:41:14 +01:00
Update: Custom intro-screen using alpha
This commit is contained in:
18
lua/plugins/custom/alpha.lua
Normal file
18
lua/plugins/custom/alpha.lua
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user