-
I've been using the preview plugin for a while now, for example, to display the properties of audio files. It's not that hard. However, I would like to change the basic preview program, which gives insight into the display of codes and text files, because its coloring is not as good as that of the batcat (Debian) program. In addition, I want to keep it so that the preview can be scrolled. How can I program this? Because the fallback command is the file command, so I cannot rewrite it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Yazi and bat use the same syntect highlighting engine, so there is no reason for Yazi to perform any worse than bat. Have you set up a theme for syntect using |
Beta Was this translation helpful? Give feedback.
syntect_theme
is in Yazi'stheme.toml
, not in bat's~/.config/bat/config
, see