Open y1rn opened 2 years ago
I'm a novice user but I expect reload sets up a new input stream/pipe to fzf with the same options it was launched with. Reload will also not affect where the output is piped. Perhaps this is closer to what you are trying to achieve:
zoxide query --list | fzf --bind 'ctrl-w:reload(zoxide query --list))' | xargs rg --files
I have the same requirement.
by default, fzf
will list the file in current directory. Then I want to change the directory (got from zoxide query -i) and run fzf
in that directory.
man fzf
)Info
Problem / Steps to reproduce
change working directory is helpful for CTRL_T and (neo)vim reload not work with fzf pop up(execute works well) such as:
fzf --bind 'ctrl-w:reload(zoxide query --list| fzf | xargs rg --files)'