local dashboard = require("dashboard") dashboard.custom_header = { " ", " ", " ", " ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗", " ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║", " ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║", " ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║", " ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║", " ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝", " ", " ", " ", " ", } dashboard.custom_center = { { icon = " ", desc = "Find File ", action = "Leaderf file --popup", shortcut = " f f", }, { icon = " ", desc = "Recently opened files ", action = "Leaderf mru --popup", shortcut = " f r", }, { icon = " ", desc = "Project grep ", action = "Leaderf rg --popup", shortcut = " f g", }, { icon = " ", desc = "Open Nvim config ", action = "tabnew $MYVIMRC | tcd %:p:h", shortcut = " e v", }, { icon = " ", desc = "New file ", action = "enew", shortcut = "e ", }, { icon = " ", desc = "Quit Nvim ", -- desc = "Quit Nvim ", action = "qa", shortcut = "q ", }, } vim.cmd([[ augroup dashboard_enter au! autocmd FileType dashboard nnoremap q :qa autocmd FileType dashboard nnoremap e :enew augroup END ]])