Forked from: orhnk/system-clipboard.yazi to work with wayland compositors.
simplescreenrecorder-2024-08-14_21.59.56.mp4
Note
You need yazi 3.x for this plugin to work.
Important
This plugin utilizes "wl-clipboard" project. You need to have it installed on your system. (Make sure that It's on your $PATH)
ya pack -a grappas/wl-clipboardCopy or install this plugin and add the following keymap to your manager.prepend_keymap:
on = "<C-y>"
run = ["plugin wl-clipboard"]Tip
If you want to use this plugin with yazi's default yanking behaviour you should use cx.yanked instead of tab.selected in init.lua (See #1487)