Questions tagged [fzf]
Use for questions specific to the command-line fuzzy finder, fzf : https://github.com/junegunn/fzf
50 questions
7 votes
3 answers
864 views
Open pdf files in the background with fzf
I want to fzf through all the pdf files in a directory, open it and release the terminal. I tried PDF_READER=okular # or evince find -type f -name "*.pdf" -print | fzf --print0 | xargs -0 $...
1 vote
1 answer
83 views
How do you put fzf CTRL-R into rlwrap ed?
I sourced the /usr/share/doc/fzf/examples/key-bindings.bash file so fzf works in Bash; but how do you get that to work with the rlwrap ed approach?
1 vote
1 answer
659 views
use fzf for all readline / bash completions
Is it somehow possible to tweak Readline in a way that always uses an interactive fuzzy finder (fzf) for making selections in Bash completions? From the GNU Bash documentation, I understand that ...
1 vote
1 answer
99 views
How to detach a piped command from the terminal?
I want to allow the leading program(s) to operate in a standard manner and detach from the terminal once a graphical application launches. In this example fzf reads paths from a file, feeds the ...
0 votes
1 answer
125 views
fzf behavior changes when capturing its output
The following command works fine as expected: find ~ -type f | fzf -m --preview-window=up:30% --header "ctrl-f: selected all and exit" --bind "enter:execute(less {})" --bind "...
0 votes
0 answers
286 views
select menu option from a file --shell scripting
I have A question regarding the menu in shell scripting. I created a menu in shell scripting. however, in one of the options, I have a list the user can select from but the list is big, so I want the ...
0 votes
1 answer
650 views
Access/copy contents of preview window of fzf
Is it possible access/copy the contents of the preview window of fzf? For example this code creates a list consisting of the top ten lines of a few selected files: find -type f | fzf --multi --preview=...
4 votes
0 answers
363 views
How to add the expanded version of commands involving fzf to history?
Say I would like to edit a file ./long/path/to/my/file/test.py with Vim, but I do not remember the path to the file. In this case, I would run vim `fzf` to use fuzzy search to find and edit the file. ...