alpha.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. return {
  2. "goolord/alpha-nvim",
  3. dependencies = { "nvim-tree/nvim-web-devicons" },
  4. config = function()
  5. local alpha = require("alpha")
  6. local dashboard = require("alpha.themes.dashboard")
  7. dashboard.section.header.val = {
  8. "",
  9. "",
  10. "",
  11. "",
  12. "",
  13. "",
  14. "███▄▄▄▄ ▄████████ ▄██████▄ ▄█ █▄ ▄█ ▄▄▄▄███▄▄▄▄ ",
  15. "███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ ▄██▀▀▀███▀▀▀██▄",
  16. "███ ███ ███ █▀ ███ ███ ███ ███ ███▌ ███ ███ ███",
  17. "███ ███ ▄███▄▄▄ ███ ███ ███ ███ ███▌ ███ ███ ███",
  18. "███ ███ ▀▀███▀▀▀ ███ ███ ███ ███ ███▌ ███ ███ ███",
  19. "███ ███ ███ █▄ ███ ███ ███ ███ ███ ███ ███ ███",
  20. "███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███",
  21. " ▀█ █▀ ██████████ ▀██████▀ ▀██████▀ █▀ ▀█ ███ █▀ ",
  22. }
  23. dashboard.section.buttons.val = {
  24. dashboard.button("n", " new", ":ene <BAR> startinsert <CR>"),
  25. dashboard.button("f", " find", ":Telescope find_files<CR>"),
  26. dashboard.button("r", " recent", ":Telescope oldfiles<CR>"),
  27. dashboard.button("q", " quit", ":qa<CR>"),
  28. }
  29. alpha.setup(dashboard.opts)
  30. end,
  31. }