chore: use LFS and hide yazi plugins diffs

This commit is contained in:
Beesquit committed 2026-10-02 16:37:46 +03:00
1 parent f5410ca8be
commit 0f22609f04
5 files changed
+3 -48

No files matched your search

-5
View File
@@ -23,10 +23,5 @@ use = "yazi-rs/plugins:jump-to-char"
rev = "b9946d9"
hash = "7a4b4237223aaa94e589d1c01a23542a"
[[plugin.deps]]
use = "yazi-rs/plugins:smart-paste"
rev = "b9946d9"
hash = "3f8d49413bc8691b4c652eb417a20178"
[flavor]
deps = []
@@ -1 +0,0 @@
../LICENSE
@@ -1,28 +0,0 @@
# smart-paste.yazi
Paste files into the hovered directory or to the CWD if hovering over a file.
https://github.com/user-attachments/assets/b3f6348e-abbe-42fe-9a67-a96e68f11255
## Installation
```sh
ya pkg add yazi-rs/plugins:smart-paste
```
## Usage
Add this to your `~/.config/yazi/keymap.toml`:
```toml
[[mgr.prepend_keymap]]
on = "p"
run = "plugin smart-paste"
desc = "Paste into the hovered directory or CWD"
```
Note that, the keybindings above are just examples, please tune them up as needed to ensure they don't conflict with your other actions/plugins.
## License
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
@@ -1,14 +0,0 @@
--- @since 25.5.31
--- @sync entry
return {
entry = function()
local h = cx.active.current.hovered
if h and h.cha.is_dir then
ya.emit("enter", {})
ya.emit("paste", {})
ya.emit("leave", {})
else
ya.emit("paste", {})
end
end,
}
+3
View File
@@ -0,0 +1,3 @@
Pictures/Wallpapers/ filter=lfs diff=lfs merge=lfs -text
.config/yazi/plugins/** -diff
.themes/** -diff