summaryrefslogtreecommitdiff
path: root/mac/.config/yazi/plugins.bak/smart-enter.yazi/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/yazi/plugins.bak/smart-enter.yazi/main.lua')
-rw-r--r--mac/.config/yazi/plugins.bak/smart-enter.yazi/main.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/mac/.config/yazi/plugins.bak/smart-enter.yazi/main.lua b/mac/.config/yazi/plugins.bak/smart-enter.yazi/main.lua
deleted file mode 100644
index e9e2ec6..0000000
--- a/mac/.config/yazi/plugins.bak/smart-enter.yazi/main.lua
+++ /dev/null
@@ -1,11 +0,0 @@
---- @since 25.5.31
---- @sync entry
-
-local function setup(self, opts) self.open_multi = opts.open_multi end
-
-local function entry(self)
- local h = cx.active.current.hovered
- ya.emit(h and h.cha.is_dir and "enter" or "open", { hovered = not self.open_multi })
-end
-
-return { entry = entry, setup = setup }