dotfiles/nvim/lua/plugins/dashboard-nvim.lua

41 lines
2.5 KiB
Lua
Raw Normal View History

2024-09-01 18:57:17 -04:00
return {
{
'nvimdev/dashboard-nvim',
dependencies = {
'nvim-tree/nvim-web-devicons',
},
event = 'VimEnter',
config = function()
require('dashboard').setup {
2024-09-06 19:06:46 -04:00
theme = 'doom',
2024-09-01 18:57:17 -04:00
config = {
header = {
2024-09-06 19:06:46 -04:00
[[ ]],
[[ ]],
2024-09-01 18:57:17 -04:00
[[ ]],
[[ ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ]],
[[ ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ]],
[[ ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ]],
[[ ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ]],
[[ ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ]],
[[ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ]],
[[ ]],
2024-09-06 19:06:46 -04:00
[[ ]],
[[ ]],
},
center = {
{ action = 'ene | startinsert', desc = ' New File', icon = '', key = 'n' },
{ action = 'lua require("telescope.builtin").find_files()', desc = ' Find File', icon = '', key = 'f' },
{ action = 'lua require("telescope.builtin").live_grep()', desc = ' Find Text', icon = '', key = 'g' },
{ action = 'lua require("telescope.builtin").oldfiles()', desc = ' Recent Files', icon = '', key = 'r' },
{ action = 'lua require("telescope.builtin").find_files({ cwd = vim.fn.stdpath "config" })', desc = ' Config Files', icon = '', key = 'c' },
{ action = 'Lazy', desc = ' Lazy', icon = '󰒲 ', key = 'l' },
{ action = 'Mason', desc = ' Mason', icon = 'M ', key = 'm' },
{ action = 'qa!', desc = ' Quit', icon = '', key = 'q' },
2024-09-01 18:57:17 -04:00
},
},
}
end,
},
}