Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include instructions on setting up fzf with fd #168

Closed
sharkdp opened this issue Nov 13, 2017 · 1 comment
Closed

Include instructions on setting up fzf with fd #168

sharkdp opened this issue Nov 13, 2017 · 1 comment

Comments

@sharkdp
Copy link
Owner

sharkdp commented Nov 13, 2017

fzf mentions fd throughout their README πŸ˜„ ✨

We should either add a link to fzf and their README or add a little section on how to set up fzf with fd. See also this tutorial: https://mike.place/2017/fzf-fd/

@sharkdp sharkdp changed the title Include instructions on setting up fzf in README Include instructions on setting up fzf with fd Nov 13, 2017
@sharkdp sharkdp added this to the 6.2.0 milestone Jan 1, 2018
@sharkdp
Copy link
Owner Author

sharkdp commented Jan 2, 2018

I've added some basic instructions here:
https://github.com/sharkdp/fd#using-fd-with-fzf

I found out that fzf can even interpret ansi sequences, so we can do something like this:

export FZF_DEFAULT_COMMAND="fd --type file --follow --color=always"
export FZF_DEFAULT_OPTS="--ansi"

and then (after vim <Ctrl-T>):
image

@sharkdp sharkdp closed this as completed Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant