local alpha_dashboard = require 'alpha.themes.dashboard' alpha_dashboard.section.buttons.val = { alpha_dashboard.button("e", "> New file", ":ene startinsert "), alpha_dashboard.button("f", "> Find file", ":FZF --reverse --info=inline $HOME/Sync"), alpha_dashboard.button("r", "> Recent", ":History"), alpha_dashboard.button("s", "> Settings", ":e $MYVIMRC | :cd %:p:h | :split . | :q "), alpha_dashboard.button("q", "> Quit NVIM", ":qa!"), } if (os.getenv('TERM_PROGRAM') == 'Apple_Terminal') then vim.cmd.colorscheme('slate') else require 'monokai' .setup() end require 'alpha' .setup(alpha_dashboard.opts) require 'lualine' .setup({ options = { theme = 'tokyonight' } }) require 'highlight-undo' .setup()