winget install --id=vivainio.RoughGrep -e
Fast, brutalist UI on top of RipGrep
Fast, brutalist UI on top of RipGrep
"You RipGrep, so why not RoughGrep?" -Anon, 2018
Grab it from Releases and unzip somewhere. Works best when you can launch it from command line.
If you want to install RoughGrep for Explorer right click context menu, run "rgg --install" as administator.
You can also install with Scoop:
$ winget install BurntSushi.ripgrep.MSVC
# install scoop (in PowerShell)
$ iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
# install scoop extras
$ scoop bucket add extras
# finally, install roughgrep
$ scoop install roughgrep
Go to the directory you want to search from in prompt of your choice.
Run rgg.exe. You may also add ripgrep command line arguments, e.g. rgg -g *.fs
to restrict the search to glob pattern
Enter the search string in the box and press enter.
Navigate the results. When you find interesting result you can:
space
to open the file at line in preview windowENTER
to open it in VSCodep
to open the parent project DIRECTORY in vscode. RoughGrep takes the best guess on what that might be (e.g. finds .csproj).n
to create a note from current line (and file) to scratchpad window. If there is selection, it's
appended instead of just the line.g
to view git history for the file in gitk
.b
to open git blame
view of the file, with current line focused. Spread the guilt!l
to open git log -p
view of the file. Useful to search deeper than what "git blame" shows you.d
to open containing folder in Windows file explorer.F12
('go to definition) to search for the word under cursor, or the currently selected text.You can modify RipGrep command line arguments after launch by clicking the ComboBox from the Status Bar.
If you want to find file names instead of finding contents, use the --files
command line argument.
Then, the "text to search for" inputs becomes the list of glob patterns instead.
Configurable in Scheme! Undocumented, but you get the idea.
Credit for the blazing fast UI performance goes to ScintillaNet editor component.
MIT