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

8 lines
191 B
Lua

return {
entry = function(_, args)
local current = cx.active.current
local new = (current.cursor + args[1]) % #current.files
ya.manager_emit("arrow", { new - current.cursor })
end,
}