summaryrefslogtreecommitdiff
path: root/mac/.config/yazi/plugins.bak/smart-paste.yazi
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-09-13 17:14:51 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-09-13 17:14:51 +0900
commita3ed0a3cb36d192c37e040d0dfe57c42113f2161 (patch)
treec216d680c4bfbe2e53232af1496c9655e347d79b /mac/.config/yazi/plugins.bak/smart-paste.yazi
parent2e6d3671d0e01ff5751893075e7fc5c53b288f95 (diff)
updates
Diffstat (limited to 'mac/.config/yazi/plugins.bak/smart-paste.yazi')
-rw-r--r--mac/.config/yazi/plugins.bak/smart-paste.yazi/LICENSE1
-rw-r--r--mac/.config/yazi/plugins.bak/smart-paste.yazi/README.md26
-rw-r--r--mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua14
3 files changed, 0 insertions, 41 deletions
diff --git a/mac/.config/yazi/plugins.bak/smart-paste.yazi/LICENSE b/mac/.config/yazi/plugins.bak/smart-paste.yazi/LICENSE
deleted file mode 100644
index ea5b606..0000000
--- a/mac/.config/yazi/plugins.bak/smart-paste.yazi/LICENSE
+++ /dev/null
@@ -1 +0,0 @@
-../LICENSE \ No newline at end of file
diff --git a/mac/.config/yazi/plugins.bak/smart-paste.yazi/README.md b/mac/.config/yazi/plugins.bak/smart-paste.yazi/README.md
deleted file mode 100644
index b32f475..0000000
--- a/mac/.config/yazi/plugins.bak/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/mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua b/mac/.config/yazi/plugins.bak/smart-paste.yazi/main.lua
deleted file mode 100644
index 0837a4b..0000000
--- a/mac/.config/yazi/plugins.bak/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,
-}