From 2e6d3671d0e01ff5751893075e7fc5c53b288f95 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 13 Sep 2025 17:11:00 +0900 Subject: deleted yazi/flavors, deleted yazi/plugins, created flavors.bak/, created plugins.bak/ --- mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua (limited to 'mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua') diff --git a/mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua b/mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua new file mode 100644 index 0000000..0837a4b --- /dev/null +++ b/mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua @@ -0,0 +1,14 @@ +--- @since 25.5.31 +--- @sync entry +return { + entry = function() + local h = cx.active.current.hovered + if h and h.cha.is_dir then + ya.emit("enter", {}) + ya.emit("paste", {}) + ya.emit("leave", {}) + else + ya.emit("paste", {}) + end + end, +} -- cgit v1.2.3