dashboard.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. return {
  2. 'nvimdev/dashboard-nvim',
  3. event = 'VimEnter',
  4. config = function()
  5. require('dashboard').setup {
  6. -- config
  7. theme = 'doom',
  8. config = {
  9. header = { [[]], [[]], [[]], [[]], [[]], [[]], [[]], [[]],
  10. [[ ▀████▀▄▄ ▄█ ]],
  11. [[ █▀ ▀▀▄▄▄▄▄ ▄▄▀▀█ ]],
  12. [[ ▄ █ ▀▀▀▀▄ ▄▀ ]],
  13. [[ ▄▀ ▀▄ ▀▄ ▀▄▀ ]],
  14. [[ ▄▀ █ █▀ ▄█▀▄ ▄█ ]],
  15. [[ ▀▄ ▀▄ █ ▀██▀ ██▄█ ]],
  16. [[ ▀▄ ▄▀ █ ▄██▄ ▄ ▄ ▀▀ █ ]],
  17. [[ █ ▄▀ █ ▀██▀ ▀▀ ▀▀ ▄▀ ]],
  18. [[ █ █ █ ▄▄ ▄▀ ]], [[]], [[]], [[]], [[]], [[]], [[]], [[]], [[]] }, -- your header
  19. center = { {
  20. icon = " ",
  21. icon_hl = 'Title',
  22. desc = 'Find File ',
  23. desc_hl = 'String',
  24. key = 'f',
  25. keymap = 'SPC f',
  26. key_hl = 'Number',
  27. }, {
  28. icon = ' ',
  29. desc = 'Find Word',
  30. key = 'k',
  31. keymap = 'SPC k',
  32. }, {
  33. icon = ' ',
  34. desc = 'Project',
  35. key = 'p',
  36. keymap = 'SPC p',
  37. }, {
  38. icon = '󰚰 ',
  39. desc = 'Plugins Update',
  40. key = 'u',
  41. name = "DsStore",
  42. keymap = 'SPC u',
  43. } } -- your footer
  44. }
  45. }
  46. end,
  47. dependencies = { { 'nvim-tree/nvim-web-devicons' } },
  48. config = function()
  49. vim.keymap.set("n", "<leader>hh", ":Dashboard<CR>", {})
  50. end
  51. }