I've installed solarized with the bundled togglebg.vim plugin.
In my vimrc I set
solarized, so I have light background and matching font colors from solarized-light.
When I change
dark in my vimrc and restart vim, it starts with dark background and matching colors from solarized-dark - as advertised.
But when I use togglebg, it changes background to dark (but not dark like in solarized, almost black) and to some different colorscheme. Manual
:colorscheme solarized doesn't fix the problem. After running togglebg double it doesn't go back to first state, but to solarized-light scheme with the same almost black background.
I have only solarized with togglebg, ctrlP and Powerline installed.
Vim running in iTerm on OS X 10.8.5
Here's my full .vimrc:
execute pathogen#infect() syntax enable set background=light colorscheme solarized set t_Co=256 let g:solarized_termcolors=256 let g:Powerline_symbols='fancy' set encoding=utf-8 filetype plugin indent on set nocompatible set modelines=0 set tabstop=2 set shiftwidth=2 set softtabstop=2 set expandtab set ruler set relativenumber set laststatus=2 set ignorecase set smartcase set gdefault inoremap jk <Esc> call togglebg#map("<F5>")