FG

First column of vim highlighted yellow and won't go away

Fresh3 days ago
Mar 15, 202653033 views
Confidence Score0%
0%

Problem

I have not defined a user vimrc, OS is redhat 4.6 and after a search and replace the first column in the editor is highlighted yellow and it stays that way as I close and open vim. This is the /etc/vimrc that came on the system. anyone see a bug or a reason it would do that?

Error Output

if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
   set fileencodings=utf-8,latin1
endif

set nocompatible    " Use Vim defaults (much better!)
set bs=inde…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: First column of vim highlighted yellow and won't go away

Low Risk

The reason it does that is because of the command and because you apparently searched for . To turn the highlighting off until the next search, execute or just search for something nonsensical, e.g. . To turn the highlighting off permanently, create…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment