📦️ deps(yazi): new plugins
This commit is contained in:
parent
c1ea672332
commit
185833d216
2 changed files with 30 additions and 12 deletions
|
@ -1,15 +1,3 @@
|
||||||
-- Plugins
|
|
||||||
require("full-border"):setup({
|
|
||||||
type = ui.Border.ROUNDED,
|
|
||||||
})
|
|
||||||
require("zoxide"):setup({
|
|
||||||
update_db = true,
|
|
||||||
})
|
|
||||||
require("session"):setup({
|
|
||||||
sync_yanked = true,
|
|
||||||
})
|
|
||||||
|
|
||||||
-- yatline
|
|
||||||
local catppuccin_palette = {
|
local catppuccin_palette = {
|
||||||
rosewater = "#f4dbd6",
|
rosewater = "#f4dbd6",
|
||||||
flamingo = "#f0c6c6",
|
flamingo = "#f0c6c6",
|
||||||
|
@ -39,6 +27,34 @@ local catppuccin_palette = {
|
||||||
crust = "#181926",
|
crust = "#181926",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Plugins
|
||||||
|
require("full-border"):setup({
|
||||||
|
type = ui.Border.ROUNDED,
|
||||||
|
})
|
||||||
|
|
||||||
|
require("zoxide"):setup({
|
||||||
|
update_db = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
require("session"):setup({
|
||||||
|
sync_yanked = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
require("searchjump"):setup({
|
||||||
|
unmatch_fg = catppuccin_palette.overlay0,
|
||||||
|
match_str_fg = catppuccin_palette.peach,
|
||||||
|
match_str_bg = catppuccin_palette.base,
|
||||||
|
first_match_str_fg = catppuccin_palette.lavender,
|
||||||
|
first_match_str_bg = catppuccin_palette.base,
|
||||||
|
lable_fg = catppuccin_palette.green,
|
||||||
|
lable_bg = catppuccin_palette.base,
|
||||||
|
only_current = false, -- only search the current window
|
||||||
|
show_search_in_statusbar = false,
|
||||||
|
auto_exit_when_unmatch = false,
|
||||||
|
enable_capital_lable = false,
|
||||||
|
search_patterns = {}, -- demo:{"%.e%d+","s%d+e%d+"}
|
||||||
|
})
|
||||||
|
|
||||||
require("yatline"):setup({
|
require("yatline"):setup({
|
||||||
section_separator = { open = "", close = "" },
|
section_separator = { open = "", close = "" },
|
||||||
inverse_separator = { open = "", close = "" },
|
inverse_separator = { open = "", close = "" },
|
||||||
|
|
|
@ -4,6 +4,8 @@ deps = [
|
||||||
{ use = "KKV9/compress", commit = "878b876" },
|
{ use = "KKV9/compress", commit = "878b876" },
|
||||||
{ use = "imsi32/yatline", commit = "f5a56cb" },
|
{ use = "imsi32/yatline", commit = "f5a56cb" },
|
||||||
{ use = "imsi32/yatline-githead", commit = "2f2b000" },
|
{ use = "imsi32/yatline-githead", commit = "2f2b000" },
|
||||||
|
{ use = "yazi-rs/plugins#smart-filter", commit = "ba2a7d7" },
|
||||||
|
{ use = "yazi-rs/plugins#hide-preview", commit = "ba2a7d7" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[flavor]
|
[flavor]
|
||||||
|
|
Loading…
Add table
Reference in a new issue