ii14 / jfind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jfind

jfind is a better version of fzf.

  • Faster loading
  • Faster sorting
  • Less memory usage
  • Better sorting results

image

Inspiration

jfind was originally written before fzf version 0.32.0. Prior to this verison, fzf had a terrible scoring algorithm. Instead of switching back to fzf, I continue to use jfind due to the better performance and nice aesthetic.

Install Instructions

cmake -S . -B build
cd build
sudo make install

Uninstall Instructions

sudo make uninstall

or

sudo rm /usr/local/bin/jfind

Example config (~/.config/jfind/config.json)

{
    "selector": "",
    "active_selector": "",
    "history_limit": 0,
    "style": {
        "active_item": {
            "fg": "bright_white",
            "bg": 233,
            "attr": ["bold"]
        },
        "hint": {
            "fg": 240
        },
        "active_row": {
            "bg": 233
        },
        "active_selector": {
            "bg": 233
        },
        "active_hint": {
            "fg": "bright_white",
            "bg": 233
        }
    }
}

About

License:MIT License


Languages

Language:C++ 99.5%Language:CMake 0.5%