929 B
929 B
wl-clipboard.yazi
Forked from: orhnk/system-clipboard.yazi to work with wayland compositors.
Demo
https://github.com/user-attachments/assets/74d59f49-266a-497e-b67e-d77e64209026
Config
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)
Installation
ya pack -a grappas/wl-clipboard
Configuration
Copy 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.yankedinstead oftab.selectedininit.lua(See #1487)