luneta 0.7.0

Luneta is an interactive filter that can be easily composed within any script.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

luneta Build Status luneta

Luneta is an interactive filter that can be easily composed within any script.

It's a fast and lightweight terminal tool that brings swiftness to your daily hacks. :shell:

demo

About

  • Fast
  • Small binary (~ 1mb)
  • Multiple lines selection
  • Adaptable screen size
  • Supports terminals that are not capable of redefining colors --color=FALSE

Run luneta -h for help:

usage: luneta [options]
-v --version version
-q   --query default query to be used upon startup
-f  --filter do not start interactive finder, e.g -f="pattern"
    --height set the maximum window height (number of lines), e.g --height 25
     --color color support, e.g --color=FALSE
-h    --help This help information.

Installation

It should work on any ANSI/POSIX-conforming unix.

Precompiled binaries for linux - Make shure that you have libncurses installed.

Snap

Linux distributions that support snaps.

snap install luneta

Manual Installation

Prerequisites:

git clone https://github.com/fbeline/luneta
cd luneta
dub build -b release --compiler ldc2

Usage examples

Pick a command in your shell history:

cat ~/.bash_history | luneta

Checkout a git branch:

git branch | luneta | xargs git checkout

Kill an active process:

ps -e -o comm | luneta | xargs pkill

Check out /examples for more.

Keyboard shorcuts

KeyAction
CTRL + SpaceSelect line and move to the next item
CTRL + nnext selection
CTRL + pprevious selection
CTRL + abeggining of the line
CTRL + eend of the line
CTRL + uerase all the character before and after the cursor
CTRL + dexit

License

GPL-2.0

Authors:
  • Felipe Beline Baravieira
Dependencies:
ncurses, fuzzyd
Versions:
0.7.4 2020-May-26
0.7.3 2020-May-05
0.7.2 2020-May-04
0.7.1 2020-May-03
0.7.0 2020-May-03
Show all 21 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 42 downloads total

Score:
2.2
Short URL:
luneta.dub.pm