luneta
![luneta](https://snapcraft.io//luneta/badge.svg)
Luneta is an interactive command-line filter that can be applied to any list, e.g.,
cat $(ls | luneta)
In this example, a list of files and folders are passed to luneta, which opens an interactive screen that allows users to fuzzy search through it. After an item gets selected luneta writes it to the stdout.
In short, it provides a convenient way to filter the data before passing it downstream.
(list) stdin -> luneta (interactive filter) -> stdout (selected value)
Although luneta was originally created to be used as a command-line tool, it can be integrated in other applications, e.g., Vim.
Brew
brew install fbeline/luneta/luneta
Snap
snap install luneta
AUR
https://aur.archlinux.org/packages/luneta
Thanks to @al1-ce
Precompiled binaries
Releases -
note: libncurses
is required.
Keyboard shorcuts
Key | Action |
---|---|
CTRL + Space | Select line and move to the next item |
CTRL + n | next selection |
CTRL + p | previous selection |
CTRL + a | beggining of the line |
CTRL + e | end of the line |
CTRL + u | erase all the character before and after the cursor |
CTRL + d | exit |