For some reason it doesn't seem to be working? I've tried changing the program for mimetype inode/directory but it's still using ls. I'd like to switch it to tree instead of just plain ls. Not sure but it could be an lf issue, ctpv works as expected interactively.
Here's the relevant part from the config:
preview directories inode/directory {{
tree "$f"
}}
Closing this because I just came across dirpreviews option in lf while going through the issues on their repo. Here's the relevant PR. It works as intended (Add this to your lfrc set dirpreviews)
For some reason it doesn't seem to be working? I've tried changing the program for mimetype
inode/directory
but it's still usingls
. I'd like to switch it to tree instead of just plainls
. Not sure but it could be anlf
issue,ctpv
works as expected interactively.Here's the relevant part from the config: