yazi config
This commit is contained in:
parent
b9f9db4a92
commit
09f234a90d
3 changed files with 19 additions and 0 deletions
|
@ -88,6 +88,7 @@ require("yatline"):setup({
|
|||
section_c = {
|
||||
{type = "string", custom = false, name = "hovered_file_extension", params = {true}},
|
||||
{type = "coloreds", custom = false, name = "permissions"},
|
||||
{type = "string", custom = false, name = "hovered_ownership"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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