📦️ deps(yazi): new plugins

This commit is contained in:
Sergio Laín 2024-08-11 17:52:19 +02:00
parent c1ea672332
commit 185833d216
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150
2 changed files with 30 additions and 12 deletions

View file

@ -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 = {
rosewater = "#f4dbd6",
flamingo = "#f0c6c6",
@ -39,6 +27,34 @@ local catppuccin_palette = {
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({
section_separator = { open = "", close = "" },
inverse_separator = { open = "", close = "" },

View file

@ -4,6 +4,8 @@ deps = [
{ use = "KKV9/compress", commit = "878b876" },
{ use = "imsi32/yatline", commit = "f5a56cb" },
{ use = "imsi32/yatline-githead", commit = "2f2b000" },
{ use = "yazi-rs/plugins#smart-filter", commit = "ba2a7d7" },
{ use = "yazi-rs/plugins#hide-preview", commit = "ba2a7d7" },
]
[flavor]