local alpha = require('alpha') local dashboard = require('alpha.themes.dashboard') local header = { type = 'text', val = 'Neovim', opts = { position = 'center', } } local buttons = { type = 'group', val = { { type = 'text', val = 'Quick actions', opts = { position = 'center' } }, { type = 'padding', val = 1, }, dashboard.button('n', ' New File', ':enew | NvimTreeFocus', { desc = 'New file' }), dashboard.button('o', ' Old Files', ':Telescope oldfiles', { desc = 'Old files' }), dashboard.button('ff', ' Find File', ':Telescope find_files'), dashboard.button('fg', ' Find in files') } } alpha.setup { layout = { { type = 'padding', val = 2, }, header, { type = 'padding', val = 2, }, buttons, { type = 'padding', val = 2, }, }, } -- vim.api.nvim_create_autocmd("User", { -- pattern = "AlphaReady", -- command = "set showtabline=0 | set laststatus=0", -- })