Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/felipesere/icepick
- Owner: felipesere
- License: mit
- Created: 2015-01-13T00:32:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-01-15T13:27:54.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T08:31:41.598Z (about 1 month ago)
- Language: Rust
- Size: 1.22 MB
- Stars: 51
- Watchers: 4
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tools - icepick - Selecta reimplemented in Rust (Command Line / Dependency Management)
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 requestAll 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