I'm having a weird issue running gvim 8.2.1081 on fedora 32 using kde. When selecting text in visual mode gvim keeps swapping between an underline and the expected visual text selection while moving the cursor.


correct visual text selection

In both images all the text is selected.

Gvim was installed using the vim-X11 package.

At first I thought it was the colorscheme, but changing it didn't work.

Any suggestions on how to fix it or what may be causing the problem?

Thanks in advance.

  • 3
    Welcome to Vi and Vim!
    – D. Ben Knoble
    Jul 16, 2020 at 2:26
  • 2
    Looks like :h hl-VisualNOS
    – Matt
    Jul 16, 2020 at 5:32
  • 1
    You were absolutely right Matt, thank you so much didn't know about that Jul 16, 2020 at 12:59

1 Answer 1


Responding For Future Reference.

It was indeed the VisualNOS highlight, fixed it by making VisualNOS highlight match Visual highlight and removing the underline.

Thanks for the help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.