local function config() local alpha = require('alpha') local dashboard = require('alpha.themes.dashboard') dashboard.section.header.val = { 'NeoVim' } dashboard.section.buttons.val = { dashboard.button('f', 'Find File', ':Telescope find_files'), dashboard.button('w', 'Find Word', ':Telescope live_grep'), dashboard.button('o', 'Recent Files', ':Telescope oldfiles'), dashboard.button('e', 'Open Tree', ':NvimTreeToggle'), dashboard.button('s', 'Load Session', ':SessionManager load_current_dir_session'), dashboard.button('q', 'Quit', ':qa'), } alpha.setup(dashboard.config) end return config