An open API service indexing awesome lists of open source software.

https://github.com/dgraham/scores

String similarity ranking for Vim's CtrlP fuzzy file finder.
https://github.com/dgraham/scores

ctrlp dice-coefficient string-similarity vim

Last synced: 4 months ago
JSON representation

String similarity ranking for Vim's CtrlP fuzzy file finder.

Awesome Lists containing this project

README

          

# String similarity scoring

Mostly intended for use with Vim's [CtrlP][] fuzzy file name matcher, `scores`
ranks a set of file paths, provided on standard input, against a search term
to find the closest match.

Install the [vim-scores][] plugin to use this as CtrlP's file name matcher.

[CtrlP]: https://github.com/ctrlpvim/ctrlp.vim
[vim-scores]: https://github.com/dgraham/vim-scores

## Usage

```
$ scores -h
$ scores --limit 10 user.rb < items.cache
```

## Development

```
$ cargo test
$ cargo build --release
```

## License

Distributed under the MIT license. See LICENSE for details.