fzfm

ashish0kumarMIT长期未更新

基于 fzf 的终端文件管理器,用模糊搜索快速定位和操作文件,省去在目录里逐层翻找的麻烦。

fuzzy finder file manager

暂无版本206star12fork同步于 2026-11-07 07:33 UTC

怎么上手

由 README 提炼,执行前请确认
curl -fsSL https://raw.githubusercontent.com/ashish0kumar/fzfm/main/fzfm -o ~/.local/bin/fzfm
chmod +x ~/.local/bin/fzfm
硬件要求按 README 说明

README 未说明,仅需终端环境,无 GPU 或显存要求

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

基于 fzf 的终端文件管理器,用键盘和模糊搜索快速浏览、预览和打开文件

基于 fzf 的终端文件管理器,用模糊搜索快速定位和操作文件,省去在目录里逐层翻找的麻烦。

核心能力

  • 用 fzf 做模糊搜索,快速定位文件
  • 用 bat 预览文件内容,缺失时回退 cat
  • 用 eza 预览目录,缺失时回退 ls
  • 通过环境变量自定义编辑器、媒体打开器和预览命令
  • 纯键盘操作,方向键选择、回车打开

容易踩的坑

核心依赖 fzf 必须安装,否则无法运行;bat、eza、nvim 缺失时分别回退到 cat、ls、nano,但媒体打开器需自行配置;终端需安装 Nerd Fonts 才能正确显示图标

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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

    KeyAction
    Up/Down ArrowMove selection up/down
    Enter / Right ArrowOpen file/folder
    Shift + Up/DownScroll preview
    Ctrl + RRefresh 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!