Add default preview scripts? #2473
-
|
Should lf include example preview scripts as part of its official configuration? I think it may be a good idea to include a well structured and extendable preview script to make it easier for users to adapt it. Since there are likely other tool cases for previews, I would suggest that users can link their own preview scripts here to compare what is currently used. based on that we may get a good idea of a small script that could serve as official template while covering only the most common use cases for previews. My example would be this script which uses Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I had the same thoughts about the current state of the wiki just recently: Just to make clear: I am against bundling a I also think that shipping a What does make sense is a big overall of the wiki, including but not limited to the |
Beta Was this translation helpful? Give feedback.
I had the same thoughts about the current state of the wiki just recently:
Just to make clear: I am against bundling a
previewerscript insidelfitself. There is no one-size-fits-all thing here, let alone trying to make it cross platform. There had to be tons of tests and fallbacks for possible installed packages, the OS, current shell,GNUvsPosixutilities, the terminal emulator, ...In general, I do think that
yazi's out of the box experience is better (or more beginner friendly) thanlf's. But when I installed it onWindows, the previewer showed an error message complaining aboutfile(the Unix utility) not being installed.I also think that shipping a
previewercould come a…