summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yazi-enter.yazi/main.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua
index b091acb..902fbfd 100644
--- a/yazi-enter.yazi/main.lua
+++ b/yazi-enter.yazi/main.lua
@@ -141,6 +141,8 @@ local commit = ya.sync(function(_, mode, submitted_query)
local decision = decide_target(mode, is_dir)
if decision == ACTION_ENTER then
ya.emit("enter", {})
+ elseif decision == ACTION_OPEN_HOVERED then
+ ya.emit("open", { hovered = true })
end
return 0
end)