theme-switching into startup menu

This commit is contained in:
Mitchell Hingley
2026-07-21 10:42:43 -04:00
parent 8c3f0256ff
commit 068bcef098
+5 -4
View File
@@ -30,12 +30,13 @@ return {
} }
dashboard.section.header.opts.hl = "alphaheader" dashboard.section.header.opts.hl = "alphaheader"
dashboard.section.buttons.val = { dashboard.section.buttons.val = {
dashboard.button( "e", " new file" , ":ene <bar> startinsert <cr>"),
dashboard.button("f", " search file in cwd", ":FzfLua files<cr>"), dashboard.button("f", " search file in cwd", ":FzfLua files<cr>"),
dashboard.button("-", " explore cwd", ":Oil --float<cr>"),
dashboard.button("l", " Lazy settings", ":Lazy<cr>"),
dashboard.button("g", " GIT", ":LazyGit<cr>"), dashboard.button("g", " GIT", ":LazyGit<cr>"),
dashboard.button( "q", "󰅚 quit nvim" , ":qa<cr>"), dashboard.button("-", " explore cwd", ":Oil --float<cr>"),
dashboard.button("e", " new file", ":ene <bar> startinsert <cr>"),
dashboard.button("t", " change theme", ":FzfLua colorschemes<cr>"),
dashboard.button("l", " Lazy settings", ":Lazy<cr>"),
dashboard.button("q", "󰅚 quit nvim", ":qa<cr>"),
} }
local handle = io.popen('fortune') local handle = io.popen('fortune')
local fortune = handle:read("*a") local fortune = handle:read("*a")