Kinda fzf but in Rust using the Nucleo crate and other tomfooleries
Why it's better than using fzf?
Simple, Nucleo is way faster than fzf and skim (at least on my machine, will provide benches as soon as possible).
All my homies hate find
So we use jwalk to parallelize the search of the possible paths and cut the wait time (more time to touch grass)
Now with 100% of stdin more
We implemented a fast way to get stdin
Why there isn't "insert stuff here" that fzf/skim/two_percent has?
There are 2 good reason: 1) They are actually good developer (we are not) and have years of experience 2) K.I.S.S.
-f, --file <PATH>: Search files from the given PATH.-d, --directory <PATH>: Search directories from the given PATH.-w, --working-dir <PATH>: Search directories and files from the given PATH.-h, --help: Print help.-V, --version: Print version. File modeDirectory modeUses rfz as a dmenu_run alternative
Default key mappings are as follows:
| Mappings | Description |
|---|---|
Ctrl+H, Backspace |
Delete one character before cursor |
Ctrl+D, Delete |
Delete one character next to cursor |
Ctrl+M, Enter |
Insert newline |
Ctrl+K |
Delete from cursor until the end of line |
Ctrl+J |
Delete from cursor until the head of line |
Ctrl+W, Alt+H, Alt+Backspace |
Delete one word before cursor |
Alt+D, Alt+Delete |
Delete one word next to cursor |
Ctrl+U |
Undo |
Ctrl+R |
Redo |
Ctrl+C, Copy |
Copy selected text |
Ctrl+X, Cut |
Cut selected text |
Ctrl+Y, Paste |
Paste yanked text |
Ctrl+F, → |
Move cursor forward by one character |
Ctrl+B, ← |
Move cursor backward by one character |
Ctrl+P, ↑ |
Move cursor up by one line |
Ctrl+N, ↓ |
Move cursor down by one line |
Alt+F, Ctrl+→ |
Move cursor forward by word |
Atl+B, Ctrl+← |
Move cursor backward by word |
Alt+], Alt+P, Ctrl+↑ |
Move cursor up by paragraph |
Alt+[, Alt+N, Ctrl+↓ |
Move cursor down by paragraph |
Ctrl+E, End, Ctrl+Alt+F, Ctrl+Alt+→ |
Move cursor to the end of line |
Ctrl+A, Home, Ctrl+Alt+B, Ctrl+Alt+← |
Move cursor to the head of line |
Alt+<, Ctrl+Alt+P, Ctrl+Alt+↑ |
Move cursor to top of lines |
Alt+>, Ctrl+Alt+N, Ctrl+Alt+↓ |
Move cursor to bottom of lines |
Ctrl+V, PageDown |
Scroll down by page |
Alt+V, PageUp |
Scroll up by page |