When I pipe text into fzf how can I make it display search preview which includes context around the search match so that it works like live grep -C5 text
command?
Asked
Active
Viewed 355 times
1

jackhab
- 17,128
- 37
- 99
- 136
-
Does this answer your question? [Linux shell : Interactive Fuzzy-Search content in files using grep and fzf](https://stackoverflow.com/questions/60024348/linux-shell-interactive-fuzzy-search-content-in-files-using-grep-and-fzf) – giulianopz May 02 '23 at 08:35
-
hi @jackhab, see my answer to a similar question: https://stackoverflow.com/a/76153099/9109880 – giulianopz May 02 '23 at 08:36
-
@giulianopz Thanks but it does not answer - I was asking about fzf, not about Bash scripting. – jackhab May 04 '23 at 06:11