solorice/config/yazi/plugins/diff.yazi
Kristofers Solo 1d7d0b7c22
Update 2025-05-31
Update 2025-05-06

Update 2025-05-09

Update 2025-05-11

Update 2025-05-13

Update 2025-05-18

Update 2025-05-19

Update 2025-05-24

Update 2025-05-27

Update 2025-05-29

Update 2025-05-31
2025-06-02 13:16:33 +03:00
..
LICENSE fix(yazi): update plugins 2025-04-28 19:57:56 +03:00
main.lua fix(yazi): update plugins 2025-04-28 19:57:56 +03:00
README.md Update 2025-05-31 2025-06-02 13:16:33 +03:00

diff.yazi

Diff the selected file with the hovered file, create a living patch, and copy it to the clipboard.

https://github.com/yazi-rs/plugins/assets/17523360/eff5e949-386a-44ea-82f9-4cb4a2c37aad

Installation

ya pkg add yazi-rs/plugins:diff

Usage

Add this to your ~/.config/yazi/keymap.toml:

[[mgr.prepend_keymap]]
on   = "<C-d>"
run  = "plugin diff"
desc = "Diff the selected with the hovered file"

Make sure the C + d key is not used elsewhere.

License

This plugin is MIT-licensed. For more information check the LICENSE file.