Instead of having a defined, static highlight color, it would be more useful to have the highlight color be the text's color. When highlighted, the text's color should match the background colors. This would guarantee that the text is always readable.
It depends on color scheme, inverting colors doesn't necessary guarantee good readability on its own. Anyway, it's easy to add such behaviour by specifying reverse attribute for CurrLine highlight group (might want to see related help). Like in the following line:
highlight CurrLine cterm=bold,reverse ctermfg=default ctermbg=blue
The reverse attribute yields more elegant results than a fixed color:
As long as the font color is readable on the background, it will (by definition) be readable when highlighted, which is clearly not true with vifm's current settings.
See how vifm's current highlighting compares to ranger's in terms of readability:
May I suggest changing the default colorscheme?
highlight CurrLine cterm=bold,reverse ctermfg=default ctermbg=default
You're right, I missed changing ctermbg=blue part and that's why it wasn't looking good.
I actually do use
myself. Seems to be worth using it by default, thanks!
You could change it in the next release, if you haven't done it already.
I did the change in September, so it will be in 0.8.1.