Skip to content

felipesere/icepick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Icepick is a reimplementation of Selecta in Rust

Build Status

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 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

About

Selecta reimplemented in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages