nixos-config/modules/home/yazi/plugins/smart-tab.yazi/main.lua

8 lines
175 B
Lua
Raw Normal View History

2025-02-17 12:12:38 -05:00
--- @sync entry
return {
entry = function()
local h = cx.active.current.hovered
2025-04-04 15:38:54 -04:00
ya.mgr_emit("tab_create", h and h.cha.is_dir and { h.url } or { current = true })
2025-02-17 12:12:38 -05:00
end,
}