fresh
This commit is contained in:
commit
0cbbf662e3
473 files changed
+40489
No files matched your search
@@ -0,0 +1,53 @@
|
||||
return {
|
||||
{
|
||||
"jvgrootveld/telescope-zoxide",
|
||||
config = function()
|
||||
require("lazyvim.util").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,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user