theme-switching into startup menu
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user