Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/felipesere/icepick

Selecta reimplemented in Rust
https://github.com/felipesere/icepick

Last synced: 22 days ago
JSON representation

Selecta reimplemented in Rust

Awesome Lists containing this project

README

        

#Icepick is a reimplementation of Selecta in Rust

[![Build Status](https://travis-ci.org/felipesere/icepick.svg?branch=master)](https://travis-ci.org/felipesere/icepick)

A fuzzy text selector for files and anything else you need to select.
Use it from vim, from the command line, or anywhere you can run a shell command.

## Installation

Currently requires a rustc nightly and compatible cargo.

Clone the repo and then run:

```
cargo build --release
```

and put the resulting `target/release/icepick` executable on your `PATH`.

Then you can pipe input to it and fuzzy select on it:

```
find . -name "*.css" | icepick | xargs rm
```

The above commend would allow you to match on all CSS files in your current
directory and remove the selected one.

For more uses see [the original Ruby implementation](https://github.com/garybernhardt/selecta) by Gary Bernhardt.

## Contributing

* Fork it
* Add a test
* Make it pass
* Open a pull request

All kinds of fixes and improvements are welcome, from improvements in the algorithm to more idomatic rust or documentation improvement.
Even adding an issue for something that is broken is awesome!

If you have an idea to improve performance, run `cargo bench` and see how the results compare.

## Contributors:

@felipesere
@heruku
@carols10cents