1
0
Fork 0
forked from nya/nvim
nvim/lua/nyanko/lazy/alpha.lua

31 lines
812 B
Lua
Raw Permalink Normal View History

2025-01-06 11:22:56 -06:00
return {
"goolord/alpha-nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
local theta = require("alpha.themes.theta")
local dashboard = require("alpha.themes.dashboard")
theta.header.val = {
2025-01-10 10:20:53 -06:00
" |\\ _,,,---,,_ ",
" /,`.-'`' -. ;-;;,_ ",
" |,4- ) )-,_..;\\ ( `'-'",
" '---''(_/--' `-'\\_) ",
2025-01-06 11:22:56 -06:00
}
theta.buttons.val = {
{ type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } },
{ type = "padding", val = 1 },
dashboard.button("e", "New file", "<cmd>ene<CR>"),
2025-01-28 10:14:16 -06:00
dashboard.button("<leader>sf", "Search files"),
dashboard.button("<leader>sg", "Live grep"),
2025-01-06 11:22:56 -06:00
dashboard.button("q", "Quit", "<cmd>qa<CR>"),
}
theta.file_icons.enabled = false
require("alpha").setup(theta.config)
end,
}