Skip to content

delta4d/fff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published