4

I am trying to use one of the base16 color schemes on a remote computer in Vim, but whenever I try to load any of the colorschemes, it doesn't seem to change. Vim's default colorschemes work fine.

Information about my setup:

  • Using iTerm2, Build 1.0.0.20140112 (the most recent version)
  • Using a base16 colorscheme on iTerm2
  • In iTerm2's preferences, I have xterm-256color chosen for the "Report Terminal Type" field.
  • Using zsh as my shell
  • Vim is launched without any arguments

Here's the relevant settings in my .vimrc file:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors and Fonts
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Enable syntax highlighting
syntax enable

set t_Co=256

" Access colors present in 256 colorspace
let base16colorspace=256

colorscheme base16-ocean
set background=dark

My Vundle settings are at the very top of .vimrc, before any of the other settings in the file settings.

Here's a few images that explain what is happening. In the first two images, I have applied a base16 color scheme, with no change in the colors shown in Vim. In the third, I have applied the preinstalled color scheme delek which results in a change of color.

base16-3024 base16-ocean delek

Austin Moore
  • 1,414
  • 6
  • 20
  • 43
  • Hello, I know it is quite an old question and it may be quite late to ask but was this happening even with using [base16-iterm2](https://github.com/chriskempson/base16-iterm2)? – ryuichiro Oct 01 '15 at 10:06
  • @ryuichiro Yes, and I believe I tried both 'base16-ocean.dark.256.itermcolors' and 'base16-ocean.dark.itermcolors' without success. – Austin Moore Oct 01 '15 at 20:24

1 Answers1

0

Just change a color scheme in iTerm2 ;)

All schemes in base16 are the same (if in vimrc: t_Co=16) and if you change a color scheme in iTerm - vim colors will change too.

user2427770
  • 130
  • 9