AnythingMapping
AnythingMapping

Reputation: 377

Vim Solarized Theme black space

I have the solarized theme working in a terminal vim session. It looks great at first until you move off page and black space appears. If you then scroll back up the black space is also in the originally colored areas... The colors do not change if you use page up page down, only j,k

original load of vim .vimrc file

What the error looks like:

the error

Upvotes: 2

Views: 1360

Answers (2)

AnythingMapping
AnythingMapping

Reputation: 377

The problem was caused by the Background Color Erase of the terminal fixed by adding the line

set t_ut=

see for further details further details

Upvotes: 1

cbaumhardt
cbaumhardt

Reputation: 303

You do not have the the solarized dark theme working in your terminal Vim session. I can tell because your background is black/dark gray. The solarized dark background is dark blueish.

To get the solarized colorscheme to work properly within your terminal emulator you have to change the color settings of your terminal emulator to solarized.

How to do so depends on which kind of terminal emulator you use. With gnome-terminal, you can set the colors to solarized this way: Edit - Profile Preferences - Colors - Palette - Builtin schemes: solarized. For other terminal emulator use Google to figure out how to change the terminal emulator color.

Note that this of course also changes the colors displayed in your normal shell - but this is necessary and advised.

Upvotes: 2

Related Questions