solarized theme in vim (and MATE Terminal?) doesnt work properly - vim

I just downloaded the solarized theme for vim and for the mate terminal and am now desperately trying to set them up.
I've kinda got the light theme on MATE Terminal running (as stated in the description of solarized theme the dark theme is work in progress) but don't see any other colors then the normal text color and am now wondering if this is as intended (and how to properly test this)...
In vim I'd like to run the dark theme, but if I do as described on the page (https://github.com/altercation/vim-colors-solarized) it doesn't work. I just get results like this:
http://s12.postimg.org/51e9g7uvh/Selection_001.png
Im kinda new to linux so I'd appreciate any help :)

As ryuichiro suggested: Ubuntu, vim, and the solarized color palette

Related

iTerm2 & MacVim: Why light white shadow overlays the screen?

When a file is opened within iTerm using vim, light white shadow overlays the entire screen making the text unreadable.
How can I get this fixed?
Open within iTerm:
Open in vim app:
It's related to the theme that you chose in iTerm2.
As alex said, feel free to play around with the iTerm2' color settings.

vim powerline doesnt shows fonts in gVim

I installed powerline and downloded all the fonts. Configured _vimrc to the font FiraMono and it worked but I can't change the font into nothing else
I installed RobotoMono in my windows But I cant set my gVim into RobotoMono font.
When I edit _vimrc into RobotoMono then airline status bar goes weird and font become Fixedsys My _vimrc screenshot
I am using gVim on windows searched for solution but nothing worked.
When GUI font becomes fixedsys on gvim, it means gvim cant find the font you specified (in this case, RobotoMono); so it fallbacks to its default font thats fixedsys and of course unpatched fixedsys is not contain fancy powerline symbols and as the result, airline statusbar becomes weird.
As you noted your patched FiraMono font works, the problem seems to be with font name that you are entered in your vimrc so first from gvim menu go to: Edit > Font > show more fonts and from there select the RobotoMono font that you Installed, after selecting that font a name will appear underneath dropdown list; thats the right name you should enter in your vimrc file. By the way i have got these patched fonts installed and the names are:
Roboto Mono for Powerline
Roboto Mono Light for Powerline
Roboto Mono Medium for Powerline
Roboto Mono Thin for Powerline
AND do not forget to scape spaces in them with \
P.S. You dont need let g:Powerline_symbols="fancy" in your vimrc.

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
What the error looks like:
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.
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

How make emacs console mode inherit shell colors

I just upgraded my Ubuntu laptop from 12.04 to 12.10.
In 12.04, running emacs -nw opened emacs in terminal mode using the terminal color scheme (background, foreground, ..., especially it keeped my transparent terminal background).
Now in 12.10, running the same command results in emacs opened in the terminal with an other color scheme (with a gray background). How can I tell emacs to keep my terminal color scheme ?
Thanks to https://stackoverflow.com/users/774691/john-k-doe's comment, I finally get the reason why my emacs -nw appeared like that.
I edited the font size (for the default face) in an emacs window (launched without the -nw option) and then saved this new setting using the menu entry Options -> Save Options. This action modified my ~/.xemacs/custom.el file loaded by default in my ~/.emacs file. The modification included background and foreground properties for the default face with the value used in "Window" mode.
To solve the issue, I just removed this custom entry from the custom.el file.
I'm not sure that there is a sensible answer to this. After all, a gnome terminal colour theme lists three "colours": (1) Text, (2) Background (3) Bold.
The way Emacs works is that every bit of text is given a "face". A colour theme is a mapping of faces to colours. There are more than three faces...

OSX vim background getting overridden by terminal background

I'm using vim 7.3 in Lion OSX.
Whatever theme I have tried to apply retains the terminal's background color, which in my case I've set as Silver Aerogel theme.
Curiously, using the theme Zenburn works but breaks after awhile resulting in something that looks like the attached image. In my vimrc, I have this set set t_Co=256. My vimrc file: http://dpaste.com/699961/
Help guys?
I used to have this problem... Then I learned that color schemes designed for gvim or macvim are not necessarily compatible in a 256 terminal. If it wasn't designed for a 256 color terminal, try the csapprox plugin. (csappox description)

Resources