{"action":"closed","issue":{"url":"https://api.github.com/repos/vim-airline/vim-airline/issues/583","labels_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/583/comments","events_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/583/events","html_url":"https://github.com/vim-airline/vim-airline/issues/583","id":41010495,"number":583,"title":"Unable to get themes to work correctly on Mac Terminal.app","user":{"login":"dgonzo","id":361559,"avatar_url":"https://avatars.githubusercontent.com/u/361559?v=3","gravatar_id":"","url":"https://api.github.com/users/dgonzo","html_url":"https://github.com/dgonzo","followers_url":"https://api.github.com/users/dgonzo/followers","following_url":"https://api.github.com/users/dgonzo/following{/other_user}","gists_url":"https://api.github.com/users/dgonzo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgonzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgonzo/subscriptions","organizations_url":"https://api.github.com/users/dgonzo/orgs","repos_url":"https://api.github.com/users/dgonzo/repos","events_url":"https://api.github.com/users/dgonzo/events{/privacy}","received_events_url":"https://api.github.com/users/dgonzo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vim-airline/vim-airline/labels/themes","name":"themes","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-24T14:30:01Z","updated_at":"2016-01-23T21:17:01Z","closed_at":"2016-01-23T21:17:01Z","body":"I'm sure I'm just missing something but I've been googling for 30 min to no avail. I have both 'vim' and 'mvim' (osx app) generally well configured but vim-airline still has background light and other weirdness.\r\n\r\n![Screenshot](https://www.evernote.com/shard/s22/sh/d2031317-ffae-4169-948f-0e94010278d6/21ec15b833e41105359f47730cab5c79/res/20ceb7d8-0ba9-4769-b146-fb70ca1daa82/skitch.png)\r\n\r\nmy vimrc\r\n```\r\nset nocompatible \" be iMproved, required\r\nfiletype on\r\nfiletype off \" requried\r\n\r\n\" Vundle {{{\r\n\" set runtime path to include Vundle and initialize\r\nset rtp+=~/.vim/bundle/Vundle.vim\r\ncall vundle#begin()\r\n\r\n\" let Vundle manage Vundle, required\r\nPlugin 'gmarik/Vundle.vim'\r\n\"}}}\r\n\r\n\" General {{{\r\nPlugin 'editorconfig/editorconfig-vim'\r\nPlugin 'rking/ag.vim'\r\nnnoremap <leader>a :Ag -i<space>\r\n\r\nPlugin 'matthias-guenther/hammer.vim'\r\nnmap <leader>p :Hammer<cr>\r\n\r\nPlugin 'tpope/vim-fugitive'\r\nnmap <leader>g :Ggrep\r\n\" ,f for global git serach for word under the cursor (with highlight)\r\nnmap <leader>f :let @/=\"\\\\<<C-R><C-W>\\\\>\"<CR>:set hls<CR>:silent Ggrep -w \"<C-R><C-W>\"<CR>:ccl<CR>:cw<CR><CR>\r\n\" same in visual mode\r\n:vmap <leader>f y:let @/=escape(@\", '\\\\[]$^*.')<CR>:set hls<CR>:silent Ggrep -F \"<C-R>=escape(@\", '\\\\\"#')<CR>\"<CR>:ccl<CR>:cw<CR><CR>\r\n\r\nPlugin 'techlivezheng/vim-plugin-minibufexpl'\r\nlet g:miniBufExplMapWindowNavVim = 1\r\nlet g:miniBufExplMapWindowNavArrows = 1\r\nlet g:miniBufExplMapCTabSwitchBufs = 1\r\nlet g:miniBufExplModSelTarget = 1\r\nmap <C-b> :MBEToggle<CR>\r\n\r\nPlugin 'scrooloose/syntastic'\r\nlet g:syntastic_python_checkers = ['pyflakes']\r\n\r\nPlugin 'scrooloose/nerdtree'\r\nautocmd vimenter * NERDTree\r\nautocmd StdinReadPre * let s:std_in=1\r\nautocmd VimEnter * if argc() == 0 && !exists(\"s:std_in\") | NERDTree | endif\r\nmap <C-i> :NERDTreeToggle<CR>\r\nautocmd bufenter * if (winnr(\"$\") == 1 && exists(\"b:NERDTreeType\") && b:NERDTreeType == \"primary\") | q | endif\r\n\" Disable the scrollbars (NERDTree)\r\nset guioptions-=r\r\nset guioptions-=L\r\n\" Keep NERDTree window fixed between multiple toggles\r\nset winfixwidth\r\n\r\n\" Plugin 'kien/ctrlp'\r\nset runtimepath^=~/.vim/bundle/ctrlp.vim\r\nlet g:ctrlp_map = '<c-p>'\r\nlet g:ctrlp_cmd = 'CtrlP'\r\nlet g:ctrlp_working_path_mode = 'ra'\r\nlet g:ctrlp_custom_ignore = '\\v[\\/]\\.(git|hg|svn)$'\r\nlet g:ctrlp_user_command = 'find %s -type f'        \" MacOSX/Linux\r\n\r\nPlugin 'scrooloose/nerdcommenter'\r\nnmap <leader># :call NERDComment(0, \"invert\")<cr>\r\nvmap <leader># :call NERDComment(0, \"invert\")<cr>\r\n\r\nset relativenumber\r\nset number\r\n\r\nif has('gui_running')\r\n  set guifont=Inconsolata-dz\\ for\\ Powerline:h14\r\nendif\r\n\r\nPlugin 'altercation/vim-colors-solarized'\r\nset background=dark\r\ncolorscheme solarized\r\n\r\nPlugin 'bling/vim-airline'\r\nlet g:airline_powerline_fonts = 1\r\nif !exists('g:airline_symbols')\r\n  let g:airline_symbols = {}\r\nendif\r\nlet g:airline_theme='solarized'\r\n\"}}}\r\n\r\n\" Syntax {{{\r\nfiletype plugin indent on\r\nsyntax on\r\nPlugin 'davidhalter/jedi-vim'\r\nlet g:jedi#goto_assignments_command = \"<leader>g\"\r\nlet g:jedi#goto_definitions_command = \"<leader>d\"\r\nlet g:jedi#documentation_command = \"K\"\r\nlet g:jedi#usages_command = \"<leader>n\"\r\nlet g:jedi#completions_command = \"<C-Space>\"\r\nlet g:jedi#rename_command = \"<leader>r\"\r\nlet g:jedi#show_call_signatures = \"1\"\r\n\"}}}\r\n\r\n\" Cursorline {{{\r\n\" Only show cursorline in the current window and in normal mode.\r\naugroup cline\r\n  au!\r\n  au WinLeave * set nocursorline\r\n  au WinEnter * set cursorline\r\n  au InsertEnter * set nocursorline\r\n  au InsertLeave * set cursorline\r\naugroup END\r\n\" }}}\r\n\r\n\" Settings {{{\r\nset autoread\r\nset backspace=indent,eol,start\r\nset binary\r\nset cinoptions=:0,(s,u0,U1,g0,t0\r\nset completeopt=menuone,preview\r\nset encoding=utf-8\r\nset hidden\r\nset history=1000\r\nset incsearch\r\nset laststatus=2\r\nset list\r\n\r\n\" Don't redraw while executing macros\r\nset nolazyredraw\r\n\r\n\" Disable the macvim toolbar\r\nset guioptions-=T\r\n\r\nset listchars=tab:▸\\ ,eol:¬,extends:❯,precedes:❮,trail:␣\r\nset showbreak=↪\r\n\r\nset notimeout\r\nset ttimeout\r\nset ttimeoutlen=10\r\n\r\n\" _ backups {{{\r\nif has('persistent_undo')\r\n  set undodir=~/.vim/tmp/undo//     \" undo files\r\n  set undofile\r\n  set undolevels=3000\r\n  set undoreload=10000\r\nendif\r\nset backupdir=~/.vim/tmp/backup// \" backups\r\nset directory=~/.vim/tmp/swap//   \" swap files\r\nset backup\r\nset noswapfile\r\n\" _ }}}\r\n\r\nset modelines=0\r\nset noeol\r\nset numberwidth=3\r\nset winwidth=100\r\nset ruler\r\nset showcmd\r\n\r\nset exrc\r\nset secure\r\n\r\nset matchtime=2\r\n\r\nset completeopt=longest,menuone,preview\r\n\r\n\" White characters {{{\r\nset autoindent\r\nset tabstop=2\r\nset softtabstop=2\r\nset textwidth=100\r\nset shiftwidth=2\r\nset expandtab\r\nset wrap\r\nset formatoptions=qrn1\r\nif exists('+colorcolumn')\r\n  set colorcolumn=+1\r\nendif\r\n\" }}}\r\n\r\nset visualbell\r\n\r\nset wildignore=.svn,CVS,.git,.hg,*.o,*.a,*.class,*.mo,*.la,*.so,*.obj,*.swp,*.jpg,*.png,*.xpm,*.gif,.DS_Store,*.aux,*.out,*.toc,tmp,*.scssc\r\nset wildmenu\r\n\r\nset dictionary=/usr/share/dict/words\r\n\" }}}\r\n\r\n\" Triggers {{{\r\n\" Save when losing focus\r\nau FocusLost    * :silent! wall\r\n\r\n\" When vimrc is edited, reload it\r\nautocmd! BufWritePost vimrc source ~/.vimrc\r\n\" }}}\r\n\r\n\" Trailing whitespace {{{\r\n\" Only shown when not in insert mode so I don't go insane.\r\naugroup trailing\r\n  au!\r\n  au InsertEnter * :set listchars-=trail:␣\r\n  au InsertLeave * :set listchars+=trail:␣\r\naugroup END\r\n\r\n\" Remove trailing whitespaces when saving\r\nautocmd BufWritePre * :%s/\\s\\+$//e\r\n\r\n\" }}}\r\n\r\n\" Docs {{{\r\nnnoremap <leader>d :!zeal --query \"<cword>\"&<CR><CR>\r\n\" }}}\r\n\r\n\" folding {{{\r\nPlugin 'vim-scripts/Reindent'\r\nset foldlevelstart=0\r\nset foldmethod=marker\r\n\r\n\" Space to toggle folds.\r\nnnoremap <space> za\r\nvnoremap <space> za\r\n\" Make zO recursively open whatever top level fold we're in, no matter where\r\n\" the\r\n\" cursor happens to be.\r\nnnoremap zO zCzO\r\n\" Use ,z to \"focus\" the current fold.\r\nnnoremap <leader>z zMzvzz\r\n\" }}}\r\n\r\n\" search {{{\r\nnnoremap / /\\v\r\nvnoremap / /\\v\r\n\r\nset ignorecase\r\nset smartcase\r\nset showmatch\r\nset gdefault\r\nset hlsearch\r\n\r\n\" clear search matching\r\nnoremap <leader><space> :noh<cr>:call clearmatches()<cr>\r\n\r\n\" Don't jump when using * for search\r\nnnoremap * *<c-o>\r\n\r\n\" Keep search matches in the middle of the window.\r\nnnoremap n nzzzv\r\nnnoremap N Nzzzv\r\n\r\n\" Same when jumping around\r\nnnoremap g; g;zz\r\nnnoremap g, g,zz\r\n\r\n\" Open a Quickfix window for the last search.\r\nnnoremap <silent> <leader>? :execute 'vimgrep /'.@/.'/g %'<CR>:copen<CR>\r\n\r\n\" highlight word off\r\n\" nnoremap <silent> <leader>hh :execute 'match InterestingWord1 /\\<<c-r><c-w>\\>/'<cr>\r\n\" nnoremap <silent> <leader>h1 :execute 'match InterestingWord1 /\\<<c-r><c-w>\\>/'<cr>\r\n\" nnoremap <silent> <leader>h2 :execute '2match InterestingWord2 /\\<<c-r><c-w>\\>/'<cr>\r\n\" nnoremap <silent> <leader>h3 :execute '3match InterestingWord3 /\\<<c-r><c-w>\\>/'<cr>\r\n\" }}}\r\n\r\n\" Navigation & UI {{{\r\n\" Begining & End of line in Normal mode\r\nnoremap H ^\r\nnoremap L g_\r\n\r\n\" more natural movement with wrap on\r\nnnoremap j gj\r\nnnoremap k gk\r\nvnoremap j gj\r\nvnoremap k gk\r\n\r\n\" easy split window navigation\r\nnoremap <C-h>  <C-w>h\r\nnoremap <C-j>  <C-w>j\r\nnoremap <C-k>  <C-w>k\r\nnoremap <C-l>  <C-w>l\r\n\r\n\" easy buffer navigation\r\nnoremap <leader>bp :bprevious<cr>\r\nnoremap <leader>bn :bnext<cr>\r\n\r\n\" splits\r\nnnoremap <leader>v <C-w>v<C-w>l\r\nnnoremap <leader>h <C-w>s<C-w>j\r\n\r\n\" reselect visual block after indent/outdent\r\nvnoremap < <gv\r\nvnoremap > >gv\r\n\" }}}\r\n\r\n\" End Settings {{{\r\ncall vundle#end()\r\nfiletype plugin indent on\r\n\"}}}\r\n\r\n```\r\nAny help greatly appreciated.\r\n\r\n-- dg"}}