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

Is there any way to run fzf as a daemon via API? #764

Closed
sandric opened this issue Dec 10, 2016 · 3 comments
Closed

Is there any way to run fzf as a daemon via API? #764

sandric opened this issue Dec 10, 2016 · 3 comments
Labels

Comments

@sandric
Copy link

sandric commented Dec 10, 2016

I wish I could write ivy counsel mode for fzf in emacs, because term support in emacs is horroble so everything is messed up in output. Is there any way to run fzf as a daemon and send commands to it, so it will give away list of founds in some kind of format?
Or maybe you know other projects that make workaround for that, I saw you made vim plugin for fzf, I know nothing aboud VimL, can you explain please how it works there, you dumping output to some temporary file?

@junegunn
Copy link
Owner

To answer the question, no. Have you checked https://github.com/bling/fzf.el ?

@sandric
Copy link
Author

sandric commented Dec 11, 2016

Yes, I'm actually used it, but soon my own config overgrowth this wrapper, so I wrote my own wrapper for it. I was thinking about using the same way as ivy uses ag command with wrapper but haven't succeed - I know little about shell programming, but suggest its because ag prints strictly to console while fzf have much more complicated rendering logic.

@jojojames
Copy link

+1 to this. Decoupling the search/sorting from the UI frontend would let this be useable on Emacs. fzf.el isn't great since it has to use the term support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants