data-man / fnf

Fnf is a simple fuzzy finder for the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fnf is a fast, simple fuzzy finder with an advanced scoring algorithm.

Born as a fork of fzy (originaly intended to make fzy work with the clifm file manager), it adds a few new features to the original fzy, including basic color support and multi-selection. Consult the manpage for more information.

Installation

mkdir build && cd build
git clone https://github.com/leo-arch/fnf
cd fnf
make
sudo make install

The PREFIX environment variable can be used to specify the install location, the default is /usr/local.

Use with clifm

Just run clifm as follows:

clifm --fzytab

Sorting

fzy attempts to present the best matches first. The following considerations are weighted when sorting:

It prefers consecutive characters: file will match file over filter.

It prefers matching the beginning of words: amp is likely to match app/models/posts.rb.

It prefers shorter matches: abce matches abcdef over abc de.

It prefers shorter candidates: test matches tests over testing.

About

Fnf is a simple fuzzy finder for the terminal

License:MIT License


Languages

Language:C 76.0%Language:Ruby 14.6%Language:Roff 5.1%Language:Shell 2.4%Language:Makefile 1.9%