FG
💻 Software

changing the color of comments in vim

Fresh7 days ago
Mar 15, 202614507 views
Confidence Score0%
0%

Problem

I use vim to browse the source code. In java source files comments appear in blue color on black background which is difficult to read, how to change this color scheme so that comments can appear in somewhat brighter color.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: changing the color of comments in vim

Low Risk

Adding this to ~/.vimrc makes the blue a tad brighter (and readable) in my black-backgrounded terminals thus far: (Had the same "can't read blue-on-black probs described in original post until employing above. Simple to operationalize when continual…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment