feat ✨: Yazi plugins
This commit is contained in:
parent
f68f2e5717
commit
f541445e91
12 changed files with 492 additions and 1 deletions
32
yazi/init.lua
Normal file
32
yazi/init.lua
Normal file
|
@ -0,0 +1,32 @@
|
|||
require("git"):setup()
|
||||
|
||||
th.git = th.git or {
|
||||
-- File status styles
|
||||
modified = ui.Style():fg("#569CD6"):bold(), -- soft blue
|
||||
added = ui.Style():fg("#4EC9B0"), -- teal
|
||||
deleted = ui.Style():fg("#F48771"):bold(), -- soft red
|
||||
renamed = ui.Style():fg("#DCDCAA"), -- light yellow
|
||||
untracked = ui.Style():fg("#C586C0"), -- lavender
|
||||
ignored = ui.Style():fg("#858585"), -- gray
|
||||
|
||||
-- Status signs (can use icons if your font supports them)
|
||||
modified_sign = "", -- or "M"
|
||||
added_sign = "", -- or "A"
|
||||
deleted_sign = "", -- or "D"
|
||||
renamed_sign = "➜", -- or "R"
|
||||
untracked_sign = "?",
|
||||
ignored_sign = "!",
|
||||
|
||||
-- Optional: line change indicators
|
||||
changes = {
|
||||
add = ui.Style():fg("#4EC9B0"), -- teal
|
||||
delete = ui.Style():fg("#F48771"), -- soft red
|
||||
change = ui.Style():fg("#569CD6"), -- soft blue
|
||||
},
|
||||
|
||||
-- Optional: blame styling
|
||||
blame = {
|
||||
style = ui.Style():fg("#858585"):italic(),
|
||||
format = " %author%, %age%",
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue