Options (5)
-s, --showbooleanOpen the "4th" match from the cache in the default editor
Example:
vgrep {{[-s|--show]}} {{4}}booleanDisplay a context of "3" lines for each match in the cache
Example:
vgrep {{[-s|--show]}} {{[c|context]}}{{3}}booleanDisplay the number of matches for each directory in the tree
Example:
vgrep {{[-s|--show]}} {{[t|tree]}}booleanDisplay the number of matches for each file in the tree
Example:
vgrep {{[-s|--show]}} {{[f|files]}}-i, --interactivebooleanStart an interactive shell with cached matches
Example:
vgrep {{[-i|--interactive]}}Examples (7)
Recursively search the current directory for a pattern and cache it
vgrep search_patternDisplay the contents of the cache
Open the "4th" match from the cache in the default editor
vgrep [-s|--show] 4Display a context of "3" lines for each match in the cache
vgrep [-s|--show] [c|context]3Display the number of matches for each directory in the tree
vgrep [-s|--show] [t|tree]Display the number of matches for each file in the tree
vgrep [-s|--show] [f|files]Start an interactive shell with cached matches
vgrep [-i|--interactive]made by @shridhargupta | data from tldr-pages