dorkhub

fzfm

fuzzy finder file manager

ashish0kumar
Shell21110 forksMITupdated 12 months ago
git clone https://github.com/ashish0kumar/fzfm.gitashish0kumar/fzfm

fzfm

fuzzy finder file manager

demo2


Features

  • Navigate directories seamlessly using only your keyboard
  • Blazing-fast fuzzy search powered by fzf
  • File preview using bat (fallback to cat)
  • Directory preview using eza (fallback to ls)
  • Customizable multimedia file opener (wslview, xdg-open, etc.)
  • Fully configurable via environment variables

Dependencies

Ensure you have the following installed:

  • fzf - Core dependency, the entire file manager is built around it
  • eza - For enhanced directory listing (fallback to ls)
  • bat - For file previewing (fallback to cat)
  • nvim - For text editing (fallback to nano)
  • A media opener like wslview, xdg-open, or open
  • Nerd Fonts - For proper icon rendering in the terminal

Installation

curl -fsSL https://raw.githubusercontent.com/ashish0kumar/fzfm/main/fzfm -o ~/.local/bin/fzfm
chmod +x ~/.local/bin/fzfm

Usage

Run the script:

fzfm

Key Bindings

Key Action
Up/Down Arrow Move selection up/down
Enter / Right Arrow Open file/folder
Shift + Up/Down Scroll preview
Ctrl + R Refresh file list

Environment Variables

Customize behavior according to your system by setting the following:

export FZFM_MEDIA_OPENER="xdg-open"  # Set preferred media opener
export FZFM_TEXT_EDITOR="nvim"       # Set preferred text editor
export FZFM_LIST_COMMAND="eza"       # Set directory listing command
export FZFM_PREVIEW_COMMAND="bat"    # Set preview command

Contributions

Feel free to fork the repository, submit issues, or contribute improvements!


© 2025-present Ashish Kumar

LICENSE  

more like this

perplexity-cli

🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀

Python176

r2

Free open-source Cloudflare R2 desktop client and S3 GUI for macOS, Windows, and Linux. Manage Cloudflare R2, AWS S3, M…

TypeScript50

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

search

search projects, people, and tags