delta4d / fff

Fuzzy File Finder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FFF

FFF

Fuzzy File Finder.

Installation

$ git clone https://github.com/delta4d/fff
$ cd fff
$ make
$ make install

Usage

shortcut meaning
C-C, C-Q quit without selection
ENTER quit with selection
C-J, C-N, DOWN next matched item
C-K, C-P, UP previous matched item
LEFT, C-B move cursor 1 position left
RIGHT, C-F move cursor 1 position right
C-A move cursor to the beginning
C-E move cursor to the end
BACKSPACE delete character before cursor
C-U clear the current line

asciicast

Scoring

The fuzzy search algorithm is pretty straight forward. It is just a 2-pointer traversal on pattern and text string. O(n+m) time complexity.

License

MIT

Contribution

Feel free to file an issue, or make a PR.

About

Fuzzy File Finder

License:MIT License


Languages

Language:C 98.0%Language:Makefile 2.0%