O'Reilly logo

Mastering Vim by Ruslan Osipov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Common issues

Sometimes you'll find that the color schemes you're trying out don't look as nice or don't display as many colors as you see in screenshots online.

This is most likely due to the fact that your Terminal emulator mistakenly tells Vim that it only supports 8 colors, and not the 256 most likely available in modern Terminal emulators. For that, you'll have to properly set the $TERM environment variable.

It's most common when using tmux and GMU Screen, as they might wrongly report the number of colors available.

If you find 256 colors to be not enough, certain Terminals support 24-bit colors, often referred to as "truecolor". If your Terminal supports 24-bit truecolor (a quick web search would help), add set termguicolors to your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required