Article 5E23Y Adventures in Vim: Lee and Jim figure out how to change comment colors

Adventures in Vim: Lee and Jim figure out how to change comment colors

by
Jim Salter
from Ars Technica - All content on (#5E23Y)
syncolor.vim_-800x527.png

Enlarge / Who doesn't like cyan comments in their text editor? Lee Hutchinson, that's who. (credit: Jim Salter)

One fine Monday morning, Ars Technica Senior Technology Editor Lee Hutchinson came to me with a problem: the colors in his text editor, in his humble opinion, had Begun To Suck.

In Lee's 20 years or so of Vim usage, he'd gotten accustomed to comment lines in his code and configuration files being rendered in dark blue. But after upgrading a machine to Ubuntu 20.04, Vim started rendering comments in cyan-and since the "Identifier" syntax category also rendered in cyan, he was unhappy enough about it to decide to change the defaults.

At first blush, Vim seems to adhere to roughly the same configuration standard that many if not most Unix-like systems and applications do-there's a set of systemwide configurations in /etc, which can be overridden individually per user by changes made in an optional configuration file in that user's home directory. In Vim's case, that's ~/.vimrc-just like Bash configurations can be overridden in ~/.bashrc.

Read 23 remaining paragraphs | Comments

index?i=4WgQLD9VvAA:_9AwWT5rZGg:V_sGLiPB index?i=4WgQLD9VvAA:_9AwWT5rZGg:F7zBnMyn index?d=qj6IDK7rITs index?d=yIl2AUoC8zA
External Content
Source RSS or Atom Feed
Feed Location http://feeds.arstechnica.com/arstechnica/index
Feed Title Ars Technica - All content
Feed Link https://arstechnica.com/
Reply 0 comments