mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-24 09:12:43 +03:00
8 lines
201 B
Lua
8 lines
201 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 }
|