aboutsummaryrefslogtreecommitdiff
path: root/.config/yazi/plugins/smart-enter.yazi/main.lua
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-09-14 17:46:37 +0530
committerkrolxon <krolyxon@tutanota.com>2025-09-14 17:46:37 +0530
commit92e2da70f0d8231fedced88074ef707b359e8222 (patch)
tree4959f6404a37dab29e8c237e995872ccf374cc13 /.config/yazi/plugins/smart-enter.yazi/main.lua
parenta8246b3bdefb6bf96b6cac7c7c4ef2a3b9f2383f (diff)
remove yazi, use lf
Diffstat (limited to '.config/yazi/plugins/smart-enter.yazi/main.lua')
-rw-r--r--.config/yazi/plugins/smart-enter.yazi/main.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/.config/yazi/plugins/smart-enter.yazi/main.lua b/.config/yazi/plugins/smart-enter.yazi/main.lua
deleted file mode 100644
index e9e2ec6..0000000
--- a/.config/yazi/plugins/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 }