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.
- Host: GitHub
- URL: https://github.com/dgraham/scores
- Owner: dgraham
- License: mit
- Created: 2018-04-23T17:19:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T03:29:32.000Z (over 1 year ago)
- Last Synced: 2025-02-01T16:47:31.642Z (about 1 year ago)
- Topics: ctrlp, dice-coefficient, string-similarity, vim
- Language: Rust
- Homepage:
- Size: 53.7 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.