Open niksingh710 opened 2 years ago
I was wondering the same thing.
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.
This is a must
I think this should be a reasonable setup
Any updates on this?
I'm wondering this too.
update?
No one is working on this
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 usingfind_files