init.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. vim.g.dashboard_custom_header = {
  2. '███╗ ██╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ███████╗',
  3. '████╗ ██║██║ ██║██╔════╝██╔═══██╗██╔══██╗██╔════╝',
  4. '██╔██╗ ██║██║ ██║██║ ██║ ██║██║ ██║█████╗',
  5. '██║╚██╗██║╚██╗ ██╔╝██║ ██║ ██║██║ ██║██╔══╝',
  6. '██║ ╚████║ ╚████╔╝ ╚██████╗╚██████╔╝██████╔╝███████╗',
  7. '╚═╝ ╚═══╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝'
  8. }
  9. vim.g.dashboard_default_executive = 'telescope'
  10. vim.g.dashboard_custom_section = {
  11. a = {description = {' Find File '}, command = 'Telescope find_files'},
  12. b = {description = {' Recently Used Files'}, command = 'Telescope oldfiles'},
  13. c = {description = {' Load Last Session '}, command = 'SessionLoad'},
  14. d = {description = {' Find Word '}, command = 'Telescope live_grep'},
  15. e = {description = {' Settings '}, command = ':e ~/.config/nvim/nv-settings.lua'}
  16. -- e = {description = {' Marks '}, command = 'Telescope marks'}
  17. }
  18. -- file_browser = {description = {' File Browser'}, command = 'Telescope find_files'},
  19. -- vim.g.dashboard_custom_shortcut = {
  20. -- a = 'f',
  21. -- find_word = 'SPC f a',
  22. -- last_session = 'SPC s l',
  23. -- new_file = 'SPC c n',
  24. -- book_marks = 'SPC f b'
  25. -- }
  26. -- find_history = 'SPC f h',
  27. -- vim.g.dashboard_session_directory = '~/.cache/nvim/session'
  28. vim.g.dashboard_custom_footer = {'chrisatmachine.com'}