27 lines
530 B
Markdown
27 lines
530 B
Markdown
# 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 pack -a yazi-rs/plugins:smart-paste
|
|
```
|
|
|
|
## Usage
|
|
|
|
Add this to your `~/.config/yazi/keymap.toml`:
|
|
|
|
```toml
|
|
[[manager.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.
|