8 lines
191 B
Lua
Raw Normal View History

2024-04-23 07:34:15 +05:00
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,
}