Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot find colour scheme

Tags:

vim

colors

I am trying to install a colour scheme called "github", which I got from the vim site and I have followed exactly how to install it by adding github.vim to my ~/.vim/colors folder. However, I get the error message "Cannot find colour scheme github.vim" after executing:

:colorscheme github.vim

I can't seem to find the issue after searching countless posts for a solution, so if anybody could help that'd be great. :)

like image 550
Shannon Rothe Avatar asked Mar 03 '13 09:03

Shannon Rothe


2 Answers

Try this command instead:

:colorscheme github

You should not be using the .vim extension for the colorscheme command.

To see the full range of colors in the colorscheme you would need to use gvim since the terminal version of vim would be limited in the number of colors it can display.

like image 83
Tuxdude Avatar answered Oct 16 '22 23:10

Tuxdude


The theme you're using is a gui only theme. You can use Gvim or try another theme. Take a look at summerfruit256: http://www.vim.org/scripts/script.php?script_id=2577.

like image 43
Ercan Erden Avatar answered Oct 16 '22 23:10

Ercan Erden