local alpha = require('alpha') local dashboard = require('alpha.themes.dashboard') -- Set header dashboard.section.header.val = { ' ', ' ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ', ' ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ', ' ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ', ' ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ', ' ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ', ' ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ', ' ', } -- Set menu dashboard.section.buttons.val = { dashboard.button('e', ' > New file', ':ene startinsert '), dashboard.button('f', ' > Find file', 'Telescope find_files'), dashboard.button('r', ' > Recent', ':Telescope oldfiles'), dashboard.button('s', ' > Settings', ':e $MYVIMRC | :cd %:p:h | split . | wincmd k | pwd'), dashboard.button('q', ' > Quit NVIM', ':qa'), } -- Send config to alpha alpha.setup(dashboard.opts) vim.api.nvim_create_autocmd('FileType', { pattern = 'alpha', callback = function() vim.opt_local.laststatus = 0 vim.opt_local.cursorline = false end, })