A Yazi plugin that provides a dual-pane preview for images, combining high-quality native image rendering with an image metadata list.
exiftool: Required to extract image metadata.
Can be installed via Homebrew:
brew install exiftoolUsing ya pkg package manager (Recommended)
ya pkg add yozlog/exif-imageClone using git:
git clone https://github.com/yozlog/exif-image.yazi.git ~/.config/yazi/plugins/exif-image.yaziAdd the previewer to your yazi.toml:
[plugin]
prepend_previewers = [
{ mime = "image/*", run = "exif-image" }
]Configure keybindings in your keymap.toml:
[[mgr.prepend_keymap]]
on = [ "<C-j>" ]
run = "plugin exif-image 1"
desc = "Metadata next page"
[[mgr.prepend_keymap]]
on = [ "<C-k>" ]
run = "plugin exif-image -1"
desc = "Metadata prev page"When hovering over an image file, the preview pane will automatically split to show the image on top and the metadata below. Use the configured Ctrl-j and Ctrl-k keys to scroll through the metadata pages.
