ngp2 lets you browse results of a grep-like search in a Vim-like style and open them in your favourite editor (vim) at the right line.
- search for a pattern/a regexp in a folder or a file
- by default, only source files are scanned, though a raw mode (-r) or special extensions may be specified (-t, -o)
- subsearches: search your search!
- use arrows and page up/down or home/end to navigate the results
- hit enter to open a result in your favorite editor
- hit q to quit the current subsearch or otherwise quit the program
- use / for a subsearch to include new pattern
- use \ for a subsearch to exclude new pattern
ngp int /usr/src/
ngp -ri passw ./data/
ngp -o .py 'test(' ..
ngp -re '[0-9]\+' -x test
- libncurses-dev
- make
- make install