E185: Cannot find color scheme 'jellybeans'
wow-meow-ai opened this issue · 12 comments
$ cd ~/.vim
$ git clone https://github.com/timss/vimconf.git
$ cd ~
$ ln -s ~/.vim/vimconf/.vimrc .vimrc
$ vim
Error detected while processing /home/gund/.vimrc:
line 115:
E185: Cannot find color scheme 'jellybeans'
Press ENTER or type command to continue
Thanks in advance!
with regards,
gundamlh
I just tested the exact same steps that you did on both an v7.3 (Ubuntu 12.10) and v7.4 (Debian testing), but were not able to reproduce your error on a clean install of my configuration.
Which version of Vim are you running, and more importantly, do you have any stuff already inside your ~/.vim
directory, maybe from a previous install?
After you've issued ln -s ...
and run vim
, does the Vundle plugin manager automatically start? It should print something like:
Installing Vundle...
Cloning into '/home/tim/.vim/bundle/vundle'...
...
Go here and download jellybeans.vim :
http://www.vim.org/scripts/script.php?script_id=2555
Copy it to ~/.vim/colors/
Done 👍
@fallenby Jellybeans is included in this configuration, just take a look at line 61 and 115.
It should be in ~/.vim/bundle/jellybeans.vim/colors/jellybeans.vim
.
Bundle 'nanotech/jellybeans.vim'
...
colors jellybeans
In other words, you don't have to download the colorscheme manually if it's working as intended. I believe there's something else wrong with @gundamlh setup, and it would be interesting to see what's wrong instead of just manually fixing the problem. I'm guessing the Vundle-part doesn't work for him.
@gundamlh Any news here? Going to close soon if not.
Closed because no response.
timss I have the same issue not able to get the jellybeans color.My ~/.vimrc looks like
Bundle 'nanotech/jellybeans.vim'
...
colors jellybeans
and my vim files is here.
~/.vim/bundle/jellybeans.vim/colors/jellybeans.vim
I need the same theme it looks so amazing please help me .
Like I said in my first comment in this very same issue; I need to know which version of Vim you're using, distro/OS, if you're upgraded an older installment of vimconf and so forth.
I just tested the newest version on Ubuntu 14.04 and Fedora 20, both running Vim 7.4. And as expected it works just fine, and the same goes for my laptop, desktop and server.
Won't be reopening this before I get some proper description of your issue. When provided I'll be glad to help.
Thank you so much. I fixed it in ubuntu we need to export the terminal screen color by doing
export TERM=screen-256color.
Which terminal are you using and what was your original $TERM
? Seeing as vimconf includes set t_Co=256
most environments should be able to support 256 colors even without setting $TERM
to for example screen-256color
or xterm-256color
. I'm curious which you were using if it didn't work. Ubuntu may have changed the default configuration.
For more information on 256 color support see the 256 colors setup for console Vim - Terminal recap table.
I looked further into this issue and it seems setting t_Co=256
isn't the best solution. Rather, be sure to set $TERM
to a terminal type that supports 256 colors such as xterm-256color or screen-256color in the case of screen/tmux. If done correctly Vim itself will detect 256 color support.
This reasoning is not unique to Vim, and most terminals should be able to set it even without adding anything to $HOME/.bashrc
or similar.
However in the event that you're not able to set $TERM
without resorting to $HOME/.bashrc
I added a check that will still set 256 color support. Hopefully this will make it somewhat easier to work with if you're new to $TERM
and terminals in general.
For latest version the color scheme folder located here:-
~/.config/nvim/colors/