10 lines
234 B
Lua
10 lines
234 B
Lua
---@diagnostic disable: undefined-global
|
|
|
|
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,
|
|
}
|
|
|