fix(extras-alpha): use LazyVim.pick

This commit is contained in:
Calvin Bochulak 2024-06-12 11:15:28 -06:00
parent 4b9e4edbb1
commit 4721958687
No known key found for this signature in database
GPG key ID: 49927EF8F85114FB

View file

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