onehalf icon indicating copy to clipboard operation
onehalf copied to clipboard

Konsole: Vim visual line invisible

Open ponchofiesta opened this issue 5 years ago • 2 comments

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.

ponchofiesta avatar Jun 27 '19 13:06 ponchofiesta

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)

sonph avatar Jun 27 '19 19:06 sonph

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: image

Konsole color scheme settings changed to: image

Vim visual line correct: image

ponchofiesta avatar Jun 28 '19 07:06 ponchofiesta