E185:cannot Find color scheme ' solarized '

Source: Internet
Author: User
Tags autoload error handling file copy set background

When I was studying vim, I found such a mistake. Could not find the pathogen color, the error is:

E185:cannot Find color scheme ' solarized '

How to solve the problem for Google is to find the answer:
Solution:

CP ~/.vim/bundle/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/

The original link is here
Theme:
I installed the Vimxubuntu over exposure scheme color. This is working properly until I install the pathogen. Now, I get the following error Messahe staring at vim in the terminal: error handling/USR/SHARE/VIM/VIMRC found: 42 lines: E185: No excessive exposure to the color scheme was found. Vim "Actually, the color scheme is still running, despite this error message." Have the following tree-like and. VIMRC files. Thank you for your help. VIMRC file

Original:
I installed Vim on Xubuntu with solarized scheme color. It was working fine until I install pathogen. Now, I keep getting the following error messahe while staring Vim in a terminal:

Error detected while Processing/usr/share/vim/vimrc:line 42:e185:cannot find color scheme ' Solarized.vim '

Actually, the color scheme is still running despite this error message.

There is below the arborescence and the. vimrc file.

/home/marc/.vim//home/marc/.vim/autoload//home/marc/.vim/autoload/pathogen.vim/home/marc/.vim/bundle//home/ marc/.vim/bundle/solarized//home/marc/.vim/bundle/solarized/colors/solarized.vim/home/marc/.vim/bundle/
vim-sensible//home/marc/.vim/bundle/vim-sensible/.git//home/marc/.vim/bundle/vim-sensible/plugin/sensible.vim

For your help.                 

. vimrc file Call Pathogen#infect () set nocompatible syntax on filetype plugin on set title Set number set ruler Set wrap set scrolloff=3 set ignore            
Case set Smartcase set Incsearch set Hlsearch set Visualbell Set Noerrorbells set Backspace=indent,eol,start set hidden let g:solarized_termcolors=256 ' let
g:solarized_visibility= "High" ' let G:solarized_contrast = ' high ' set t_co=16 set Background=dark ColorScheme solarized Highlight Normal Ctermbg=none Highlight NOntext Ctermbg=none set guifont=dejavu\ sans\ mono\ Ten set AntiAlias Enter image description here 

Solution:
Your should be: or, if you use a Vim7.4 or newer version: Never, ever, ever do anything vim-related.
Original:
Your VIMRC is supposed:

$HOME/.VIMRC
or there, if you use Vim 7.4 or newer:

$HOME/.vim/vimrc Never, Never
, Never do anything Vim-relat Ed outside of $HOME.

Landlord: Hello, thank you for your clarification. I put the folder. From vim/home/marc/.vim//home/.vim/I also the file. VIMRC,/HOME/.VIM/VIMRC but I still have the same error message. 7.4 is currently being installed
(Original: Hi, for the clarification.) I moved the folder. Vim from/home/marc/.vim/to/home/.vim/i moved also the file. VIMRC TO/HOME/.VIM/VIMRC But I still the have error Message. 7.4 is currently installed)

Netizen: No. You don't get it, is a variable that represents your "home" directory. You should be with.

(Original: No.) You are didn ' t get it; $HOME is a variable representing your "home" directory. You should HAVE/HOME/MARC/.VIM/AND/HOME/MARC/.VIM/VIMRC.)

Landlord: The same error, I added a screenshot of my posts at the bottom of the directory to display the path.

(Original: Same error, I added a screenshot in the bottom of me post to show the directory path.)

Solution:
I also face the same problem, which is to resolve the following file copy to the directory color.
Original:
I also faced the same problem and this are resolved by copying the file below to the colors directory.

CP ~/.vim/bundle/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.