init.lua 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. -- vim.g.dashboard_custom_header = {
  2. -- '███╗ ██╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ███████╗',
  3. -- '████╗ ██║██║ ██║██╔════╝██╔═══██╗██╔══██╗██╔════╝',
  4. -- '██╔██╗ ██║██║ ██║██║ ██║ ██║██║ ██║█████╗',
  5. -- '██║╚██╗██║╚██╗ ██╔╝██║ ██║ ██║██║ ██║██╔══╝',
  6. -- '██║ ╚████║ ╚████╔╝ ╚██████╗╚██████╔╝██████╔╝███████╗',
  7. -- '╚═╝ ╚═══╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝'
  8. -- }
  9. -- vim.g.dashboard_custom_header = {
  10. --
  11. -- ' _..._ ',
  12. -- ' .\' `. ██  ██  ██ ███  ██  █████  ██████  ██  ██ ██ ███  ███ ',
  13. -- ' : : ██  ██  ██ ████  ██ ██   ██ ██   ██ ██  ██ ██ ████  ████ ',
  14. -- ' : : ██  ██  ██ ██ ██  ██ ███████ ██████  ██  ██ ██ ██ ████ ██ ',
  15. -- ' `. .\' ██  ██  ██ ██  ██ ██ ██   ██ ██   ██  ██  ██  ██ ██  ██  ██ ',
  16. -- ' `-...-\' ███████  ██████  ██   ████ ██  ██ ██  ██   ████   ██ ██      ██ ',
  17. --
  18. -- }
  19. vim.g.dashboard_custom_header = O.dashboard.custom_header
  20. vim.g.dashboard_default_executive = 'telescope'
  21. vim.g.dashboard_custom_section = {
  22. a = {description = {' Find File '}, command = 'Telescope find_files'},
  23. b = {description = {' Recently Used Files'}, command = 'Telescope oldfiles'},
  24. c = {description = {' Load Last Session '}, command = 'SessionLoad'},
  25. d = {description = {' Find Word '}, command = 'Telescope live_grep'},
  26. e = {description = {' Settings '}, command = ':e '..CONFIG_PATH..'/lv-settings.lua'}
  27. -- e = {description = {' Marks '}, command = 'Telescope marks'}
  28. }
  29. -- file_browser = {description = {' File Browser'}, command = 'Telescope find_files'},
  30. -- vim.g.dashboard_custom_shortcut = {
  31. -- a = 'f',
  32. -- find_word = 'SPC f a',
  33. -- last_session = 'SPC s l',
  34. -- new_file = 'SPC c n',
  35. -- book_marks = 'SPC f b'
  36. -- }
  37. -- find_history = 'SPC f h',
  38. -- vim.g.dashboard_session_directory = CACHE_PATH..'/session'
  39. vim.g.dashboard_custom_footer = O.dashboard.footer