onehalf
onehalf copied to clipboard
Konsole: Vim visual line invisible
Using the light Konsole theme causes an invisible "visual line" marking in Vim.
Reproduce:
- Open any text file in Vim
- Press Shift+V
- Go down using the cursor key
You should the the marked lines but you see nothing.
Do you mind attaching a screenshot?
I don’t use Konsole so it’s kinda hard for me to debug this. The color you should see is s:selection
as defined in the light/dark color theme files. It’s #bfceff
which is a light purple color, or color code 153
(#afd7ff
) if your stack does not support true colors.
Are you using a version of vim that supports true colors? Does Konsole support true colors?
(Edit: I just realized that you use the light theme)
Yes, the light theme. I already found the cause. Color 8 (Farbe 8) is white (or missing?) and looks like the background color. Setting it to another color makes the visual line visible - grey here:
Vim visual line incorrect:
Konsole color scheme settings changed to:
Vim visual line correct: