From 3509b2bd7cf12e6d8c0f3500e7bb84f3749242d6 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Sat, 5 Sep 2026 14:50:35 +0200 Subject: Emit directory entry action --- yazi-enter.yazi/main.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'yazi-enter.yazi/main.lua') diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index df02870..b091acb 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -139,6 +139,9 @@ local commit = ya.sync(function(_, mode, submitted_query) end local is_dir = target.cha.is_dir local decision = decide_target(mode, is_dir) + if decision == ACTION_ENTER then + ya.emit("enter", {}) + end return 0 end) -- cgit v1.2.3