You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to figure out a way to use tree to preview directories, but it seems that lf will only allow custom preview functionality for files (is this correct or did I miss something?).
It would be great to also have the option of using custom previewing for directories.
And thanks for making this great tool!
The text was updated successfully, but these errors were encountered:
@jryompreviewer only works for text files and binary file previews have been requested before in #322 but I don't think we have a dedicated issue for directory previews so far. So let's keep this open in case someone wants to work on this.
@gokcehan I'm trying to display help in the preview, the problem is when I'm on a directory I can't see the output. Currently using Yad dialog box as a work around. Tree would be nice as well. Not sure if there's a better approach?
cmd help %{{
sed -n -E -e "/^# $1$/,/^$/p"~/.config/lf/lfrc| yad --text-info
}}
map Ht help"Tags"
Preview
sed -n -E -e "/^# $1$/,/^$/p"~/.config/lf/lfrc
exit 1
I was trying to figure out a way to use
tree
to preview directories, but it seems thatlf
will only allow custom preview functionality for files (is this correct or did I miss something?).It would be great to also have the option of using custom previewing for directories.
And thanks for making this great tool!
The text was updated successfully, but these errors were encountered: