From ae78dbbff81196f1d7bc8fabf84d05e6b9f3ca03 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:42:50 +0900 Subject: updates --- .../yazi/plugins/smart-paste.yazi/README.md | 26 ---------------------- .../.config/yazi/plugins/smart-paste.yazi/main.lua | 14 ------------ 2 files changed, 40 deletions(-) delete mode 100644 fedora/.config/yazi/plugins/smart-paste.yazi/README.md delete mode 100644 fedora/.config/yazi/plugins/smart-paste.yazi/main.lua (limited to 'fedora/.config/yazi/plugins/smart-paste.yazi') 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, -} -- cgit v1.2.3