refactoring
This commit is contained in:
parent
74ae1150a3
commit
69400c1aa3
142 changed files with 11 additions and 70 deletions
8
modules/home/yazi/plugins/arrow.yazi/main.lua
Normal file
8
modules/home/yazi/plugins/arrow.yazi/main.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- @sync entry
|
||||
return {
|
||||
entry = function(_, job)
|
||||
local current = cx.active.current
|
||||
local new = (current.cursor + job.args[1]) % #current.files
|
||||
ya.manager_emit("arrow", { new - current.cursor })
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue