vgrep alternatives and similar packages
Based on the "Web" category.
Alternatively, view vgrep alternatives based on common mentions on social networks and blogs.
-
servant
Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more! -
swagger-petstore
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
haskell-bitmex-rest
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
neuron
Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/srid/emanote) -
tagsoup
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents -
keera-hails-reactive-htmldom
Keera Hails: Haskell on Rails - Reactive Programming Framework for Interactive Haskell applications -
ghcjs-base
base library for GHCJS for JavaScript interaction and marshalling, used by higher level libraries like JSC
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of vgrep or a related project?
README
vgrep
-- A pager for grep
[Screenshot](./screenshot.gif)
Usage
As a pager:
grep -rn data /some/path | vgrep # -n for line numbers
As a drop-in replacement for
grep
:vgrep data /some/path # recursive by default vgrep data /some/path | vgrep default # works with pipes, too
With a
git
alias defined in your~/.gitconfig
:git config --global alias.vgrep '!__git_vgrep () { git grep --color=always "$@" | vgrep; }; __git_vgrep' git vgrep data
Using
ack
/ag
instead ofgrep
? No problem:ack data | vgrep # Output of `ack` is compatible ack --color data | vgrep # Even coloring works ag --color data | vgrep # Same for `ag`
Keybindings:
- Use
hjkl
or the arrow keys to navigate Enter
opens a pager with the selected filee
opens the selected file in$EDITOR
Tab
switches between results list and pagerq
closes the pager and then the entire application.
Installation
Via nix
from nixpkgs
nix-env -iA nixpkgs.haskellPackages.vgrep
From Hackage
Installation from Hackage via stack
is recommended:
stack update
stack install vgrep
This will install vgrep
to your ~/.local/bin
directory.
From source
git clone https://github.com/fmthoma/vgrep.git
cd vgrep
stack setup
stack install