Skip to content

gmou3/fzf-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fzf with versatile previewing

A terminal-based tool for searching and previewing files. Ideal for system-wide searching.

Screenshot

Usage

Run the bash script fzf-preview.sh. This chooses an image viewer and calls fzf with preview script fzf-file2preview.sh.

Keys: Use the backtick (`) to cycle through file and directory results. Press Enter to open the selection.

Dependencies

fzf | junegunn/fzf

This is the only critical dependency. The rest expand functionality and can be added as needed.

Image viewer

ueberzugpp | jstkdng/ueberzugpp (suggested)

Alternatives
ueberzug ueber-devel/ueberzug
chafa hpjansson/chafa
catimg posva/catimg

Also works within a kitty terminal employing kitty icat.

File-to-preview converters

Media
audio ffmpeg, exiftool
video ffmpegthumbnailer
Documents
djvu ddjvu
docx docx2txt
eml (email) mu
epub epub-thumbnailer
markdown glow
odt odt2txt
pdf pdftoppm
Compressed files
bz2 bzcat
gz zcat
xz xzcat
zip unzip

About

An fzf script with versatile previewing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages