mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-20 23:31:44 +03:00
8 lines
202 B
Lua
8 lines
202 B
Lua
local function setup(_, opts)
|
|
if opts.sync_yanked then
|
|
ps.sub_remote("@yank", function(body) ya.manager_emit("update_yanked", { cut = body.cut, urls = body }) end)
|
|
end
|
|
end
|
|
|
|
return { setup = setup }
|