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

With find_files #23

Open
niksingh710 opened this issue Jan 12, 2022 · 8 comments
Open

With find_files #23

niksingh710 opened this issue Jan 12, 2022 · 8 comments

Comments

@niksingh710
Copy link

How to can i have this feature enabled under find files i mean usign :Telescope media_files works but how to get that working when using find_files

@cizordj
Copy link

cizordj commented Mar 29, 2022

I was wondering the same thing.

@dajohans
Copy link

I've wanted this behaviour for a long time also. I'm not entirely sure what telescope does under the hood. But it seems telescope can be configured to use fzf. When manually using fzf in the terminal it seems to me that you have to specify the preview program when you call fzf, that is you have to specify the program which is used for previewing before fzf knows about the filetype it is going to preview. So I think the way to fix it, at least with fzf, is to make a bash script that checks the filetype and then calls the appropriate program for viewing that filetype. Then tell fzf to use that bash script as a previewer. I suspect that this would also work with telescope. I haven't tried this, but I think I'll give it a go in the next few days. But I think this is one way to get this behaviour. I really hope it works, because the current behaviour where you have to use different search functions for different filetypes is really strange and (imo) badly designed.

@olivatooo
Copy link

This is a must

@yyy33
Copy link

yyy33 commented Jul 11, 2022

I think this should be a reasonable setup

@7ze
Copy link

7ze commented Oct 13, 2022

Any updates on this?

@rock-tran
Copy link

I'm wondering this too.

@qxb3
Copy link

qxb3 commented Aug 3, 2023

update?

@cizordj
Copy link

cizordj commented Aug 5, 2023

No one is working on this

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

No branches or pull requests

8 participants