cleanup and fixing yazi plugins
This commit is contained in:
parent
b330c1c08e
commit
9fb223704e
8 changed files with 47 additions and 78 deletions
|
@ -1,4 +1,8 @@
|
|||
require("git"):setup()
|
||||
th.git = th.git or {}
|
||||
th.git.modified_sign = "M"
|
||||
th.git.deleted_sign = "D"
|
||||
|
||||
require("dir-rules"):setup()
|
||||
|
||||
require("restore"):setup({
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
--- @sync entry
|
||||
return {
|
||||
entry = function()
|
||||
local h = cx.active.current.hovered
|
||||
if h and h.cha.is_dir then
|
||||
ya.mgr_emit("enter", {})
|
||||
ya.mgr_emit("paste", {})
|
||||
ya.mgr_emit("leave", {})
|
||||
else
|
||||
ya.mgr_emit("paste", {})
|
||||
end
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue