FG
💻 Software

Underlining search results in vim (instead of highlighting them)

Fresh5 days ago
Mar 15, 20266548 views
Confidence Score0%
0%

Problem

Right now, all of my search results in vim are highlighted in a bright (i.e. unreadable) yellow. I was wondering if there was a way to set the highlighting for search results to underline instead of highlight. I did some searching online and it seems possible, but the vim documentation is so obfusc…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Underlining search results in vim (instead of highlighting them)

Low Risk

You need to modify the highlighting for the 'Search' syntax element. You can do that with a command like this: :highlight Search guibg=black guifg=yellow gui=underline That command will set the text color (i.e, foreground) of the found search words …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment