by Yoofie · 3y ago · 0 comments
> rg . | fzf
How do I do this on windows (NOT Linux)??
*Note:* Assume I already have ripgrep, FZF & VS Code installed.
Sadly, you don't get the "context" (the content of actual matches) out of the box, you'll have to resort to double-tapping F3 while manually going down the file list. That's a downside, I fully admit that.
In the article, they provide this:
>rg . | fzf | cut -d ":" -f 1
What would be the easy windows equivalent of
> cut -d ":" -f 1
??
In fact, I went and tried the other shortcuts and they worked as well e.g. Alt+C
Didn't know about this all this while and I had fzf installed!