Code Monkey home page Code Monkey logo

ranger-fzf-filter's Introduction

ranger-fzf-filter

This is a ranger plugin that adds a fuzzy filter(depends on fzf), allowing for the interactive real-time display of filtered files. Unlike the built-in find command, which requires pressing Enter to execute and display filtered files, this plugin shows them instantaneously.(Translated by ChatGPT)

这是一个 ranger 插件,添加了一个模糊过滤器(依赖 fzf),可以交互式实时过滤出显示的文件,而不是像内置的find命令需要输入回车执行后才过滤出显示的文件。

ranger-fzf-filter.mp4

Install

For ranger >= 1.9.3, use Git to clone this repository into your ~/.config/ranger/plugins folder. For example:

git clone [email protected]:MuXiu1997/ranger-fzf-filter.git ~/.config/ranger/plugins/ranger_fzf_filter

Legacy Install

For ranger versions older than 1.9.3, or to install without Git, download __init__.py to your ~/.config/ranger/plugins directory. For example:

mkdir -p ~/.config/ranger/plugins
wget -O ~/.config/ranger/plugins/ranger_fzf_filter.py https://raw.githubusercontent.com/MuXiu1997/ranger-fzf-filter/main/__init__.py

Usage

Command:

  • :fzf_filter [query]: filtering files with fzf, see this search syntax

Keyboard Shortcut

Add a binding to your ~/.config/ranger/rc.conf file to quickly use :fzf_filter:

map f console fzf_filter%space

License

MIT

ranger-fzf-filter's People

Contributors

muxiu1997 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.