init
This commit is contained in:
27
nvim/lua/plugins/extras/editor/telescope/all-recent.lua
Normal file
27
nvim/lua/plugins/extras/editor/telescope/all-recent.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = {
|
||||
"prochri/telescope-all-recent.nvim",
|
||||
dependencies = {
|
||||
"kkharji/sqlite.lua",
|
||||
},
|
||||
opts = {
|
||||
pickers = {
|
||||
["workspaces.nvim#workspaces"] = {
|
||||
disable = false,
|
||||
sorting = "frecency",
|
||||
},
|
||||
["project.nvim#projects"] = {
|
||||
disable = false,
|
||||
sorting = "frecency",
|
||||
},
|
||||
["yanky.nvim#yank_history"] = {
|
||||
disable = true,
|
||||
},
|
||||
["zoxide.nvim#zoxide"] = {
|
||||
disable = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
28
nvim/lua/plugins/extras/editor/telescope/file-browser.lua
Normal file
28
nvim/lua/plugins/extras/editor/telescope/file-browser.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return {
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
file_browser = {
|
||||
hijack_netrw = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("file_browser")
|
||||
end)
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
{
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
optional = true,
|
||||
},
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>'", "<cmd>Telescope file_browser<cr>", desc = "Telescope File Browser (root dir)" },
|
||||
{ '<leader>"', "<cmd>Telescope file_browser path=%:p:h select_buffer=true<cr>", desc = "Telescope File Browser (cwd)" },
|
||||
},
|
||||
}
|
||||
13
nvim/lua/plugins/extras/editor/telescope/frecuency.lua
Normal file
13
nvim/lua/plugins/extras/editor/telescope/frecuency.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
"nvim-telescope/telescope-frecency.nvim",
|
||||
opts = {},
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").load_extension("frecency")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>fq", "<cmd>Telescope frecency<CR>", desc = "Frecency (Root Dir)" },
|
||||
{ "<leader>fQ", "<cmd>Telescope frecency workspace=CWD<CR>", desc = "Frecency (cwd)" },
|
||||
},
|
||||
}
|
||||
18
nvim/lua/plugins/extras/editor/telescope/headings.lua
Normal file
18
nvim/lua/plugins/extras/editor/telescope/headings.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
"crispgm/telescope-heading.nvim",
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
heading = {
|
||||
treesitter = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("heading")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>s#", "<cmd>Telescope heading<CR>", desc = "Headings" },
|
||||
},
|
||||
}
|
||||
19
nvim/lua/plugins/extras/editor/telescope/import.lua
Normal file
19
nvim/lua/plugins/extras/editor/telescope/import.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
"piersolenski/telescope-import.nvim",
|
||||
opts = {},
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
import = {
|
||||
insert_at_top = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("import")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>sI", "<cmd>Telescope import<CR>", desc = "Imports" },
|
||||
},
|
||||
}
|
||||
11
nvim/lua/plugins/extras/editor/telescope/lazy.lua
Normal file
11
nvim/lua/plugins/extras/editor/telescope/lazy.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
"tsakirist/telescope-lazy.nvim",
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").load_extension("lazy")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>sp", "<cmd>Telescope lazy<CR>", desc = "Plugins (Lazy)" },
|
||||
},
|
||||
}
|
||||
13
nvim/lua/plugins/extras/editor/telescope/live-grep.lua
Normal file
13
nvim/lua/plugins/extras/editor/telescope/live-grep.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
"nvim-telescope/telescope-live-grep-args.nvim",
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").load_extension("lazy")
|
||||
end)
|
||||
end,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>sg", function() require("telescope").extensions.live_grep_args.live_grep_args() end, desc = "Grep (root dir)" },
|
||||
{ "<leader>/", function() require("telescope").extensions.live_grep_args.live_grep_args() end, desc = "Grep (root dir)" },
|
||||
},
|
||||
}
|
||||
11
nvim/lua/plugins/extras/editor/telescope/luasnip.lua
Normal file
11
nvim/lua/plugins/extras/editor/telescope/luasnip.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
"benfowler/telescope-luasnip.nvim",
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").load_extension("luasnip")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>sl", "<cmd>Telescope luasnip<CR>", desc = "Luasnip (Snippets)" },
|
||||
},
|
||||
}
|
||||
18
nvim/lua/plugins/extras/editor/telescope/media.lua
Normal file
18
nvim/lua/plugins/extras/editor/telescope/media.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
"dharmx/telescope-media.nvim",
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
media = {
|
||||
backend = "ueberzug", -- image/gif backend
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("media")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>sM", "<cmd>Telescope media<CR>", desc = "Media" },
|
||||
},
|
||||
}
|
||||
69
nvim/lua/plugins/extras/editor/telescope/repo.lua
Normal file
69
nvim/lua/plugins/extras/editor/telescope/repo.lua
Normal file
@@ -0,0 +1,69 @@
|
||||
return {
|
||||
{
|
||||
"cljoly/telescope-repo.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
{
|
||||
"airblade/vim-rooter",
|
||||
init = function()
|
||||
vim.g["rooter_cd_cmd"] = "lcd"
|
||||
vim.g["rooter_silent_chdir"] = 1
|
||||
end,
|
||||
},
|
||||
{ "nvim-telescope/telescope.nvim" },
|
||||
{ "nvim-lua/plenary.nvim" },
|
||||
},
|
||||
opts = {},
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
repo = {
|
||||
list = {
|
||||
fd_opts = {
|
||||
"--no-ignore-vcs",
|
||||
},
|
||||
search_dirs = {
|
||||
"~/dev/",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("repo")
|
||||
end)
|
||||
end,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>fp", "<cmd>Telescope repo list<cr>", desc = "Projects (~/dev)" },
|
||||
{ "<leader>fP", "<cmd>lua require'telescope'.extensions.repo.list{search_dirs = { '~/' }}<cr>", desc = "Projects (System)" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"goolord/alpha-nvim",
|
||||
optional = true,
|
||||
opts = function(_, dashboard)
|
||||
local button = dashboard.button("r", " " .. " Repos", "<cmd>Telescope repo list<CR>")
|
||||
button.opts.hl = "AlphaButtons"
|
||||
button.opts.hl_shortcut = "AlphaShortcut"
|
||||
table.insert(dashboard.section.buttons.val, 4, button)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvimdev/dashboard-nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
local projects = {
|
||||
action = "Telescope repo list",
|
||||
desc = " Repos",
|
||||
icon = " ",
|
||||
key = "r",
|
||||
}
|
||||
|
||||
projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
|
||||
projects.key_format = " %s"
|
||||
|
||||
table.insert(opts.config.center, 4, projects)
|
||||
end,
|
||||
},
|
||||
}
|
||||
126
nvim/lua/plugins/extras/editor/telescope/telescope-extended.lua
Normal file
126
nvim/lua/plugins/extras/editor/telescope/telescope-extended.lua
Normal file
@@ -0,0 +1,126 @@
|
||||
local symbols_prefix = "<leader>ss"
|
||||
local symbols_workspace_prefix = "<leader>sS"
|
||||
local actions = require("telescope.actions")
|
||||
|
||||
return {
|
||||
{ import = "lazyvim.plugins.extras.editor.telescope" },
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{
|
||||
symbols_prefix .. "a",
|
||||
LazyVim.pick("lsp_document_symbols", { symbols = { "Class", "Function", "Method", "Constructor", "Interface", "Module", "Struct", "Trait", "Field", "Property", "Enum", "Constant" } }),
|
||||
desc = "All",
|
||||
},
|
||||
{ symbols_prefix .. "c", LazyVim.pick("lsp_document_symbols", { symbols = { "Class" } }), desc = "Class" },
|
||||
{ symbols_prefix .. "f", LazyVim.pick("lsp_document_symbols", { symbols = { "Function" } }), desc = "Function" },
|
||||
{ symbols_prefix .. "m", LazyVim.pick("lsp_document_symbols", { symbols = { "Method" } }), desc = "Method" },
|
||||
{ symbols_prefix .. "C", LazyVim.pick("lsp_document_symbols", { symbols = { "Constructor" } }), desc = "Constructor" },
|
||||
{ symbols_prefix .. "e", LazyVim.pick("lsp_document_symbols", { symbols = { "Enum" } }), desc = "Enum" },
|
||||
{ symbols_prefix .. "i", LazyVim.pick("lsp_document_symbols", { symbols = { "Interface" } }), desc = "Interface" },
|
||||
{ symbols_prefix .. "M", LazyVim.pick("lsp_document_symbols", { symbols = { "Module" } }), desc = "Module" },
|
||||
{ symbols_prefix .. "s", LazyVim.pick("lsp_document_symbols", { symbols = { "Struct" } }), desc = "Struct" },
|
||||
{ symbols_prefix .. "t", LazyVim.pick("lsp_document_symbols", { symbols = { "Trait" } }), desc = "Trait" },
|
||||
{ symbols_prefix .. "F", LazyVim.pick("lsp_document_symbols", { symbols = { "Field" } }), desc = "Field" },
|
||||
{ symbols_prefix .. "p", LazyVim.pick("lsp_document_symbols", { symbols = { "Property" } }), desc = "Property" },
|
||||
{ symbols_prefix .. "v", LazyVim.pick("lsp_document_symbols", { symbols = { "Variable", "Parameter" } }), desc = "Variable" },
|
||||
{
|
||||
symbols_workspace_prefix .. "a",
|
||||
LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Class", "Function", "Method", "Constructor", "Interface", "Module", "Struct", "Trait", "Field", "Property", "Enum", "Constant" } }),
|
||||
desc = "All",
|
||||
},
|
||||
{ symbols_workspace_prefix .. "c", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Class" } }), desc = "Class" },
|
||||
{ symbols_workspace_prefix .. "f", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Function" } }), desc = "Function" },
|
||||
{ symbols_workspace_prefix .. "m", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Method" } }), desc = "Method" },
|
||||
{ symbols_workspace_prefix .. "C", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Constructor" } }), desc = "Constructor" },
|
||||
{ symbols_workspace_prefix .. "e", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Enum" } }), desc = "Enum" },
|
||||
{ symbols_workspace_prefix .. "i", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Interface" } }), desc = "Interface" },
|
||||
{ symbols_workspace_prefix .. "M", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Module" } }), desc = "Module" },
|
||||
{ symbols_workspace_prefix .. "s", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Struct" } }), desc = "Struct" },
|
||||
{ symbols_workspace_prefix .. "t", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Trait" } }), desc = "Trait" },
|
||||
{ symbols_workspace_prefix .. "F", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Field" } }), desc = "Field" },
|
||||
{ symbols_workspace_prefix .. "p", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Property" } }), desc = "Property" },
|
||||
{ symbols_workspace_prefix .. "v", LazyVim.pick("lsp_dynamic_workspace_symbols", { symbols = { "Variable", "Parameter" } }), desc = "Variable" },
|
||||
{ "<leader>sA", LazyVim.pick("treesitter"), desc = "Treesitter Symbols" },
|
||||
{ "<leader>sP", "<cmd>Telescope builtin<cr>", desc = "Pickers (Telescope)" },
|
||||
{ "<leader>fh", LazyVim.pick("find_files", { hidden = true }), desc = "Find Files (hidden)" },
|
||||
{ "<leader><c-space>", LazyVim.pick("find_files", { hidden = true }), desc = "Find Files (hidden)" },
|
||||
{ "<leader>gb", "<cmd>Telescope git_branches<cr>", desc = "Branches" },
|
||||
{ "<leader>S", "<cmd>Telescope spell_suggest<cr>", desc = "Spelling" },
|
||||
{ "<leader>gs", false },
|
||||
},
|
||||
opts = {
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-k>"] = actions.move_selection_previous,
|
||||
["<C-j>"] = actions.move_selection_next,
|
||||
["<S-esc>"] = actions.close,
|
||||
["<C-p>"] = require("telescope.actions.layout").toggle_preview,
|
||||
["<c-l>"] = require("telescope.actions.layout").cycle_layout_next,
|
||||
["<a-l>"] = require("telescope.actions.layout").cycle_layout_prev,
|
||||
["<C-Down>"] = actions.cycle_history_next,
|
||||
["<C-Up>"] = actions.cycle_history_prev,
|
||||
["<C-Tab>"] = require("telescope.actions").select_tab_drop,
|
||||
["<M-h>"] = require("telescope.actions").results_scrolling_left,
|
||||
["<M-l>"] = require("telescope.actions").results_scrolling_right,
|
||||
},
|
||||
},
|
||||
file_ignore_patterns = {
|
||||
".gitignore",
|
||||
"node_modules",
|
||||
"build",
|
||||
"dist",
|
||||
"yarn.lock",
|
||||
"*.git/*",
|
||||
"*/tmp/*",
|
||||
},
|
||||
},
|
||||
pickers = {
|
||||
find_files = {
|
||||
hidden = false,
|
||||
},
|
||||
buffers = {
|
||||
layout_config = {
|
||||
height = 0.7,
|
||||
width = 0.7,
|
||||
},
|
||||
mappings = {
|
||||
i = {
|
||||
["<c-r>"] = require("telescope.actions").delete_buffer,
|
||||
},
|
||||
},
|
||||
},
|
||||
spell_suggest = {
|
||||
layout_config = {
|
||||
prompt_position = "top",
|
||||
height = 0.3,
|
||||
width = 0.25,
|
||||
},
|
||||
sorting_strategy = "ascending",
|
||||
},
|
||||
},
|
||||
extensions = {
|
||||
fzf = {
|
||||
fuzzy = true,
|
||||
override_generic_sorter = true,
|
||||
override_file_sorter = true,
|
||||
case_mode = "smart_case",
|
||||
},
|
||||
["ui-select"] = {
|
||||
require("telescope.themes").get_dropdown({}),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
opts = {
|
||||
spec = {
|
||||
{ symbols_prefix, group = "goto symbols", icon = " " },
|
||||
{ symbols_workspace_prefix, group = "goto symbols (Workspace)", icon = " " },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
25
nvim/lua/plugins/extras/editor/telescope/undotree.lua
Normal file
25
nvim/lua/plugins/extras/editor/telescope/undotree.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
return {
|
||||
{
|
||||
"debugloop/telescope-undo.nvim",
|
||||
opts = {},
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
undo = {
|
||||
side_by_side = true,
|
||||
layout_strategy = "vertical",
|
||||
layout_config = {
|
||||
preview_height = 0.6,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("undo")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>su", "<cmd>Telescope undo<cr>", desc = "Undos" },
|
||||
},
|
||||
},
|
||||
}
|
||||
9
nvim/lua/plugins/extras/editor/telescope/urlview.lua
Normal file
9
nvim/lua/plugins/extras/editor/telescope/urlview.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
"axieax/urlview.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim" },
|
||||
cmd = { "UrlView" },
|
||||
keys = { { "<leader>sU", "<cmd>UrlView<cr>", desc = "Search Urls" } },
|
||||
opts = {
|
||||
default_picker = "telescope",
|
||||
},
|
||||
}
|
||||
55
nvim/lua/plugins/extras/editor/telescope/workspaces.lua
Normal file
55
nvim/lua/plugins/extras/editor/telescope/workspaces.lua
Normal file
@@ -0,0 +1,55 @@
|
||||
return {
|
||||
{
|
||||
"natecraddock/workspaces.nvim",
|
||||
event = "VeryLazy",
|
||||
cmd = {
|
||||
"WorkspacesAdd",
|
||||
"WorkspacesAddDir",
|
||||
"WorkspacesRemove",
|
||||
"WorkspacesRename",
|
||||
"WorkspacesOpen",
|
||||
"WorkspacesList",
|
||||
"WorkspacesListDirs",
|
||||
},
|
||||
config = function()
|
||||
require("workspaces").setup({
|
||||
hooks = {
|
||||
open = { "Telescope find_files" },
|
||||
},
|
||||
})
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").load_extension("workspaces")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>fw", "<cmd>Telescope workspaces<cr>", desc = "Workspaces" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"goolord/alpha-nvim",
|
||||
optional = true,
|
||||
opts = function(_, dashboard)
|
||||
local button = dashboard.button("w", " " .. " Workspaces", "<cmd>Telescope workspaces<CR>")
|
||||
button.opts.hl = "AlphaButtons"
|
||||
button.opts.hl_shortcut = "AlphaShortcut"
|
||||
table.insert(dashboard.section.buttons.val, 4, button)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvimdev/dashboard-nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
local projects = {
|
||||
action = "Telescope workspaces",
|
||||
desc = " Workspaces",
|
||||
icon = " ",
|
||||
key = "w",
|
||||
}
|
||||
|
||||
projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
|
||||
projects.key_format = " %s"
|
||||
|
||||
table.insert(opts.config.center, 4, projects)
|
||||
end,
|
||||
},
|
||||
}
|
||||
53
nvim/lua/plugins/extras/editor/telescope/zoxide.lua
Normal file
53
nvim/lua/plugins/extras/editor/telescope/zoxide.lua
Normal 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,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user