Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 892 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 892 Bytes

A fast fuzzy file name matcher for Vim

A fast replacement for CtrlP's fuzzy file name matcher that uses scores to rank search results. This provides results similar to ctrlp-py-matcher but without the Python dependency.

Installation

# Build scores binary and install in $PATH
$ git clone https://github.com/dgraham/scores
$ cd scores
$ cargo build --release
$ cp target/release/scores /usr/local/bin
# Install the vim plugin
$ git clone https://github.com/dgraham/vim-scores ~/.vim/pack/plugins/start/vim-scores

Add the match function to your ~/.vimrc file.

let g:ctrlp_match_func = { 'match': 'scores#ScoreMatch' }

License

Distributed under the MIT license. See LICENSE for details.