Skip to content

yozlog/exif-image.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 繁體中文 | 한국어

exif-image.yazi

A Yazi plugin that provides a dual-pane preview for images, combining high-quality native image rendering with an image metadata list.

Preview

Requirements & Dependencies

  • exiftool: Required to extract image metadata.

macOS

Can be installed via Homebrew:

brew install exiftool

Installation

Using ya pkg package manager (Recommended)

ya pkg add yozlog/exif-image

Manual Installation

Clone using git:

git clone https://github.com/yozlog/exif-image.yazi.git ~/.config/yazi/plugins/exif-image.yazi

Configuration

Add the previewer to your yazi.toml:

[plugin]
prepend_previewers = [
  { mime = "image/*", run = "exif-image" }
]

Keybindings

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"

Usage

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.

About

A Yazi plugin that provides a dual-pane preview for images, combining high-quality native image rendering with an image metadata list.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages