Open ElectricRCAircraftGuy opened 2 years ago
Update: it looks like simply deleting --disabled
from the rgf cmd fixes it! See: https://github.com/junegunn/fzf#3-interactive-ripgrep-integration
Also, note that we used --disabled option so that fzf doesn't perform any secondary filtering.
I looked at man fzf
and saw:
--disabled Do not perform search. With this option, fzf becomes a simple selector interface rather than a "fuzzy finder". You can later enable the search using enable-search or toggle-search action.
So, removing --disabled
appears to allow fzf to search the filenames found by rgf as well!
no...try this (searching for word "hey"):
rg -n --hidden --color always hey | fzf --ansi
Use more sublf
too.
Figure out how to make fzf keep the whole screen of last content in the terminal after existing....like less -RFX
or whatever, does.
maybe --no-clear
?
The internal cmd to do this will be something like this:
Take a look at rgf directly and see if there's an easy way to get it to include the filenames in the search by fzf!