chore: use LFS and hide yazi plugins diffs
This commit is contained in:
1 parent
f5410ca8be
commit
0f22609f04
5 files changed
+3
-48
No files matched your search
@@ -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,
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
Pictures/Wallpapers/ filter=lfs diff=lfs merge=lfs -text
|
||||
.config/yazi/plugins/** -diff
|
||||
.themes/** -diff
|
||||
Reference in new issue
Block a user