Update lua/lazyvim/plugins/extras/ui/alpha.lua

Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
This commit is contained in:
Calvin Bochulak 2024-06-12 13:23:47 -06:00 committed by GitHub
parent b01b269e4b
commit 545796be96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,11 +23,11 @@ return {
dashboard.section.header.val = vim.split(logo, "\n") dashboard.section.header.val = vim.split(logo, "\n")
-- stylua: ignore -- stylua: ignore
dashboard.section.buttons.val = { dashboard.section.buttons.val = {
dashboard.button("f", "" .. " Find file", [[<cmd> lua LazyVim.pick() <cr>]]), dashboard.button("f", "" .. " Find file", LazyVim.pick() --[[@as string]]),
dashboard.button("n", "" .. " New file", [[<cmd> ene <BAR> startinsert <cr>]]), dashboard.button("n", "" .. " New file", [[<cmd> ene <BAR> startinsert <cr>]]),
dashboard.button("r", "" .. " Recent files", [[<cmd> lua LazyVim.pick("oldfiles") <cr>]]), dashboard.button("r", "" .. " Recent files", LazyVim.pick("oldfiles") --[[@as string]]),
dashboard.button("g", "" .. " Find text", [[<cmd> lua LazyVim.pick("live_grep") <cr>]]), dashboard.button("g", "" .. " Find text", LazyVim.pick("live_grep") --[[@as string]]),
dashboard.button("c", "" .. " Config", [[<cmd> lua LazyVim.pick.config_files() <cr>]]), dashboard.button("c", "" .. " Config", LazyVim.pick.config_files() --[[@as string]]),
dashboard.button("s", "" .. " Restore Session", [[<cmd> lua require("persistence").load() <cr>]]), dashboard.button("s", "" .. " Restore Session", [[<cmd> lua require("persistence").load() <cr>]]),
dashboard.button("x", "" .. " Lazy Extras", "<cmd> LazyExtras <cr>"), dashboard.button("x", "" .. " Lazy Extras", "<cmd> LazyExtras <cr>"),
dashboard.button("l", "󰒲 " .. " Lazy", "<cmd> Lazy <cr>"), dashboard.button("l", "󰒲 " .. " Lazy", "<cmd> Lazy <cr>"),