diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-28 15:42:50 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-28 15:42:50 +0900 |
| commit | ae78dbbff81196f1d7bc8fabf84d05e6b9f3ca03 (patch) | |
| tree | fdc69ee3e2772aa4db7e8efe4bd30d101c7f82ac /fedora/.config/yazi/plugins/zoom.yazi/README.md | |
| parent | 06ad645351572c0e7188c52028998384d718df2e (diff) | |
Diffstat (limited to 'fedora/.config/yazi/plugins/zoom.yazi/README.md')
| -rw-r--r-- | fedora/.config/yazi/plugins/zoom.yazi/README.md | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/fedora/.config/yazi/plugins/zoom.yazi/README.md b/fedora/.config/yazi/plugins/zoom.yazi/README.md deleted file mode 100644 index 9be8025..0000000 --- a/fedora/.config/yazi/plugins/zoom.yazi/README.md +++ /dev/null @@ -1,56 +0,0 @@ -> [!NOTE] -> The latest Yazi nightly build is required to use this plugin at the moment. - -# zoom.yazi - -Enlarge or shrink the preview image of a file, which is useful for magnifying small files for viewing. - -Supported formats: - -- Images - requires [ImageMagick](https://imagemagick.org/) (>= 7.1.1) - -Note that, the maximum size of enlarged images is limited by the [`max_width`][max_width] and [`max_height`][max_height] configuration options, so you may need to increase them as needed. - -https://github.com/user-attachments/assets/b28912b1-da63-43d3-a21f-b9e6767ed4a9 - -[max_width]: https://yazi-rs.github.io/docs/configuration/yazi#preview.max_width -[max_height]: https://yazi-rs.github.io/docs/configuration/yazi#preview.max_height - -## Installation - -```sh -ya pkg add yazi-rs/plugins:zoom -``` - -## Usage - -```toml -# keymap.toml -[[mgr.prepend_keymap]] -on = "+" -run = "plugin zoom 1" -desc = "Zoom in hovered file" - -[[mgr.prepend_keymap]] -on = "-" -run = "plugin zoom -1" -desc = "Zoom out hovered file" -``` - -## Advanced - -If you want to apply a default zoom parameter to image previews, you can specify it while setting this plugin up as a custom previewer, for example: - -```toml -[[plugin.prepend_previewers]] -mime = "image/{jpeg,png,webp}" -run = "zoom 5" -``` - -## TODO - -- [ ] Support more file types (e.g., videos, PDFs), PRs welcome! - -## License - -This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file. |
