feat: add alpha-nvim plugin
This commit is contained in:
parent
3362873c0a
commit
f6baa11fb6
2 changed files with 44 additions and 0 deletions
43
lua/plugins/alpha-nvim.lua
Normal file
43
lua/plugins/alpha-nvim.lua
Normal file
|
@ -0,0 +1,43 @@
|
|||
return {
|
||||
'goolord/alpha-nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
local alpha = require("alpha")
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
|
||||
-- https://github.com/MaximilianLloyd/ascii.nvim
|
||||
dashboard.section.header.val = {
|
||||
" ",
|
||||
" ░░░ ▄▄▄▄▄▄███▄▄▄▄▄ ",
|
||||
" ▄███████▀▀▀▀▀▀█▓▓▓▓▓▓██▄▄▄▄ ",
|
||||
" ▐████▄▄ ■▓▓▓▓▀▀▀▀▀▀▀▀▀█████■ ██▄ ",
|
||||
" ▀█████████▄▄▄▄▄███████████▀▀ ▄▄ ████░▄▄▄ ",
|
||||
" ▐██▄ ▄▄▄▄▄▄▀▀▀▀▀▀▀▀▓▓▓▀░░░▄▄▄ ▄▄ ▐███▏▐██▓▄████ ",
|
||||
" ▄█▓░███▓ ▄▓▓▓▄▄████████████▄█████▄ ▄█████████▐███ ████▏██▀████▀ ",
|
||||
" ▐███▄███░▀████████▀▀ ▀▓█████▓▀██▓████▀▀ ███████ ▄█████ ■ ██▀ ",
|
||||
" ▀████▓██ ▐██████ ▐████ ▐████▀ ▒████████▄ ▄███████ ",
|
||||
" ▀███ ▀▀█████▄ ▄████ ▄████▏ ▄█████▀█████████▀ ███ ",
|
||||
" ▀████▄ ▄████▐██▄███████▄▄▄███▓██▏ ▀██████▀ ▐██ ",
|
||||
" ▀████████▀ ▀████▀▀████████▀▐██▏ ▀██▀▀ ▐██▏ ",
|
||||
" ▓▓█ ▀████ ▀ ■███▄▄ ███ ██▏ ",
|
||||
" ▀▀▀ ▀▀ ▀█████▄▓▀ ██▏ ",
|
||||
" ░░ ▄████████████▄▄▄▄▄▄▄ ▀▀▀████▄▄ ▒▒▒ ██▏ ▄▄ ",
|
||||
" ▀▀████▀▀▀▀▀▀████████████▄▄▓▓▓███▄ ░░░░ ▐█▏ ■▀▀ ",
|
||||
" ▀▀▀▀▀▀█████▓▓▓▓█▄▄ ▐█ ",
|
||||
" ▄█████████▄▄ ",
|
||||
" ▄▄▄▄████████▀▀▀▀▀▀▀███▏ ",
|
||||
" ▄▄█████▀▀▀▀ ▀■ ",
|
||||
" ▄███▀▀▀▀ ",
|
||||
" ■▀▀ ",
|
||||
" ",
|
||||
}
|
||||
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("e", " > New File", "<cmd>ene<CR>"),
|
||||
dashboard.button("SPC ee", " > File explorer", "<cmd>Neotree<CR>"),
|
||||
dashboard.button("q", " > Quit", "<cmd>qa<CR>"),
|
||||
}
|
||||
|
||||
alpha.setup(dashboard.opts)
|
||||
end
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue