@@ -4,7 +4,6 @@ if not status_ok then
|
|||||||
end
|
end
|
||||||
|
|
||||||
local dashboard = require("alpha.themes.dashboard")
|
local dashboard = require("alpha.themes.dashboard")
|
||||||
local cdir = vim.fn.getcwd()
|
|
||||||
|
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
|
|
||||||
@@ -39,11 +38,7 @@ dashboard.section.header.opts.hl = pick_color()
|
|||||||
dashboard.section.buttons.val = {
|
dashboard.section.buttons.val = {
|
||||||
dashboard.button("t", "🌳 NvimTree", ":NvimTreeToggle<CR>"),
|
dashboard.button("t", "🌳 NvimTree", ":NvimTreeToggle<CR>"),
|
||||||
dashboard.button("c", "✨ Change Theme", "<cmd>Telescope colorscheme<CR>"),
|
dashboard.button("c", "✨ Change Theme", "<cmd>Telescope colorscheme<CR>"),
|
||||||
dashboard.button(
|
dashboard.button("f", "🔎 Find Files", "<cmd>Telescope find_files<CR>"),
|
||||||
"f",
|
|
||||||
"🔎 Find Files",
|
|
||||||
"<cmd>Telescope find_files<CR>"
|
|
||||||
),
|
|
||||||
dashboard.button("p", "✅ PackerSync", ":PackerSync<CR>"),
|
dashboard.button("p", "✅ PackerSync", ":PackerSync<CR>"),
|
||||||
dashboard.button("q", "🛑 Quit NVIM", ":qa<CR>"),
|
dashboard.button("q", "🛑 Quit NVIM", ":qa<CR>"),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user