summaryrefslogtreecommitdiff
path: root/fedora/.config/yazi/plugins/smart-paste.yazi
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-28 15:42:50 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-28 15:42:50 +0900
commitae78dbbff81196f1d7bc8fabf84d05e6b9f3ca03 (patch)
treefdc69ee3e2772aa4db7e8efe4bd30d101c7f82ac /fedora/.config/yazi/plugins/smart-paste.yazi
parent06ad645351572c0e7188c52028998384d718df2e (diff)
updatesHEADmaster
Diffstat (limited to 'fedora/.config/yazi/plugins/smart-paste.yazi')
-rw-r--r--fedora/.config/yazi/plugins/smart-paste.yazi/README.md26
-rw-r--r--fedora/.config/yazi/plugins/smart-paste.yazi/main.lua14
2 files changed, 0 insertions, 40 deletions
diff --git a/fedora/.config/yazi/plugins/smart-paste.yazi/README.md b/fedora/.config/yazi/plugins/smart-paste.yazi/README.md
deleted file mode 100644
index b32f475..0000000
--- a/fedora/.config/yazi/plugins/smart-paste.yazi/README.md
+++ /dev/null
@@ -1,26 +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"
-```
-
-## License
-
-This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
diff --git a/fedora/.config/yazi/plugins/smart-paste.yazi/main.lua b/fedora/.config/yazi/plugins/smart-paste.yazi/main.lua
deleted file mode 100644
index 0837a4b..0000000
--- a/fedora/.config/yazi/plugins/smart-paste.yazi/main.lua
+++ /dev/null
@@ -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,
-}