4 ms·
I appreciate your answer but the whole point is to do everything from the command line. If I need to use another application, I can just open VS Code in the dir
by Yoofie 4y ago
I appreciate your answer but the whole point is to do everything from the command line. If I need to use another application, I can just open VS Code in the directory and search from there directly.
In the article, they provide this:
>rg . | fzf | cut -d ":" -f 1
What would be the easy windows equivalent of
> cut -d ":" -f 1
??
- spapas82 4y agocut is a part of git for windows. It should be inside "c:\Program Files\Git\usr\bin\" folder. So after adding this folder to your path `rg . | fzf | cut -d ":" -f 1` should work. However I wasn't able to actually use that to open that file in vscode or vim because the application started immediately without waiting to pick a file ...