dotfiles/.config/yazi/plugins/smart-enter.yazi/init.lua

7 lines
155 B
Lua
Raw Normal View History

2024-04-23 04:34:15 +02:00
return {
entry = function()
local h = cx.active.current.hovered
ya.manager_emit(h and h.cha.is_dir and "enter" or "open", { hovered = true })
end,
}