Closed TobisLee closed 1 month ago
This is intentional; I wanted to add an underline instead of a background color to indicate it's a "temporary view" during preview.
Feel free to change its style to your liking easily:
# ~/.config/yazi/theme.toml
[manager]
preview_hovered = { fg = "black", bg = "lightblue" }
Just add the above to your configuration file. See the docs here: https://yazi-rs.github.io/docs/configuration/theme#manager
Some filenames might contain _, and underline style will be confused with it.
It looks like this on my end, and seems to have a certain distinctiveness from _
:
Thanks for your reply. I notice that I have a different font. I will change the theme configuration myself.
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
yazi --debug
outputPlease describe the problem you're trying to solve
Yazi now use the underline style in preview_hovered as default. Should we consider to change to the reversed style?
Here are some reasons:
_
, and underline style will be confused with it.Would you be willing to contribute this feature?
Describe the solution you'd like
Change the preview_hovered to reversed style as default.
Additional context
No response
Validations