dotfiles/.config/yazi/plugins/smart-enter.yazi/init.lua
2024-04-23 07:46:41 +05:00

7 lines
155 B
Lua

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,
}