diff options
Diffstat (limited to 'fedora/.config/yazi/plugins/diff.yazi/README.md')
| -rw-r--r-- | fedora/.config/yazi/plugins/diff.yazi/README.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/fedora/.config/yazi/plugins/diff.yazi/README.md b/fedora/.config/yazi/plugins/diff.yazi/README.md new file mode 100644 index 0000000..1976541 --- /dev/null +++ b/fedora/.config/yazi/plugins/diff.yazi/README.md @@ -0,0 +1,28 @@ +# 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 + +```sh +ya pkg add yazi-rs/plugins:diff +``` + +## Usage + +Add this to your `~/.config/yazi/keymap.toml`: + +```toml +[[mgr.prepend_keymap]] +on = "<C-d>" +run = "plugin diff" +desc = "Diff the selected with the hovered file" +``` + +Make sure the <kbd>C</kbd> + <kbd>d</kbd> key is not used elsewhere. + +## License + +This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file. |
