This commit is contained in:
2025-08-13 21:46:48 +02:00
commit c3e2e6509b
818 changed files with 54187 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
return {
{
"jvgrootveld/telescope-zoxide",
config = function()
LazyVim.on_load("telescope.nvim", function()
require("telescope").setup({
extensions = {
zoxide = {
mappings = {
default = {
after_action = function(selection)
require("telescope.builtin").find_files({ cwd = selection.path })
end,
},
},
},
},
})
require("telescope").load_extension("zoxide")
end)
end,
keys = {
{ "<leader>fz", "<cmd>Telescope zoxide list<CR>", desc = "Zoxide" },
},
},
{
"goolord/alpha-nvim",
optional = true,
opts = function(_, dashboard)
local button = dashboard.button("z", "" .. " Zoxide", "<cmd>Telescope zoxide list <CR>")
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 5, button)
end,
},
{
"nvimdev/dashboard-nvim",
optional = true,
opts = function(_, opts)
local zoxide = {
action = "Telescope zoxide list",
desc = " Zoxide",
icon = "",
key = "z",
}
zoxide.desc = zoxide.desc .. string.rep(" ", 43 - #zoxide.desc)
zoxide.key_format = " %s"
table.insert(opts.config.center, 4, zoxide)
end,
},
}