Meno was created as an alternative to the standard pager less
with only one
goal: to make searching in the file faster.
If you view with less
a very long file, jumping to the first occurrence of a
particular string can take a very long time. meno
seeks to make this jump as
fast as possible, at the expense of CPU and memory, with the assumption that you
probably have a lot of both and are willing to trade it for faster searching.
Assuming you have a $USER/bin directory:
git checkout https://github.com/ewaters/meno.git
cd meno
go build -o ~/bin/meno *.go
meno <large file>
You have the following keyboard shortcuts in the pager:
g
/G
: Go to first/last line in fileb
/PgUp: Go up a pagef
/Space/PgDown: Go down a pagej
/ArrowDown: Go down a linek
/ArrowUp: Go up a lineq
/CtrlC: Quit
But the most important ones are:
/
: Find down?
: Find upn
/N
: (after a search) Go to the next/previous result