Shannon Rothe
Shannon Rothe

Reputation: 1122

Cannot find colour scheme

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. :)

Upvotes: 5

Views: 4891

Answers (2)

Ercan Erden
Ercan Erden

Reputation: 1926

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.

Upvotes: 3

Tuxdude
Tuxdude

Reputation: 49583

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.

Upvotes: 8

Related Questions