{"repo":"vrothberg/vgrep","free":true,"listed":false,"github":"https://github.com/vrothberg/vgrep","clone":"git clone https://github.com/vrothberg/vgrep.git","description":"a user-friendly pager for grep","language":"Go","stars":704,"topics":["golang","git-grep","grepping","frontend","text-editing","text-search","grep","source-code","pager"],"license":"GPL-3.0","category":"dev-tools","readme_excerpt":"vgrep is a pager for grep , git-grep , ripgrep and similar grep implementations, and allows for opening the indexed file locations in a user-specified editor such as vim or emacs. vgrep is inspired by the ancient cgvg scripts but extended to perform further operations such as listing statistics of files and directory trees or showing the context lines before and after the matches. vgrep runs on Linux, Windows and Mac OS. Please, feel free to copy, improve, distribute and share. Feedback and patches are always welcome! Install Instructions You can install vgrep on Fedora, openSUSE, archlinux, Gentoo, and on Mac OS via MacPorts and Homebrew. On other systems, you can build and install vgrep manually via make build and make install . Searching Patterns The basic functionality of vgrep is to perform textual searches. On a technical level, vgrep serves as a front-end to grep or git-grep when invoking vgrep inside a git tree and uses less for displaying the results. All non-vgrep flags and arguments will be passed down to grep. Results of the last search are cached, so running vgrep without a new query will load previous results and operate on them. An example call may look as follows: By default, the output will be written to less to make browsing large amounts of data more comfortable. vgrep --no-less will write to stdout. The path to the cache is $LOCALAPPDATA/vgrep-cache/vgrep-go on Windows and $HOME/.cache/vgrep-go on Unix systems. Opening Matches vgrep can open the indexed fi","default_branch":null,"files":null,"tree":[],"storefront":"/r/vrothberg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vrothberg/vgrep/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}