Files
AstroVim_Config/.config/yazi/plugins/wl-clipboard.yazi
2025-03-08 21:24:58 +07:00
..
2025-03-08 21:24:58 +07:00
2025-03-08 21:24:58 +07:00
2025-03-08 21:24:58 +07:00

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.yanked instead of tab.selected in init.lua (See #1487)