On 06/03/09 17:54, Stephen_B wrote:
> I'm using vim 7.2 on windows. For some reason, my colorschemes are not
> being fully imported.
>
> When I open a file, I see the effects of some elements of the
> colorscheme can be seen, but not the entire scheme. Using the gui
> command Edit->Color Scheme->myscheme, the full scheme loads just fine.
> This is the case for the schemes shipped with vim too.
>
> Editing _vimrc so that it only contains the single line "colorscheme
> jellybeans" does not result in the full scheme being loaded.
>
> Am I doing something wrong?
>
> Stephen

Try using the following vimrc instead (between the lines of dashes, and 
not including them):

-------------------------------------
runtime vimrc_example.vim
colorscheme jellybeans
-------------------------------------

If it works now, it means you weren't enabling filetype detection and 
syntax highlighting. In that case, you may want to keep the above (it 
already sets a lot of useful settings) and add any additional 
customizations you like between the two lines above. Then, at your 
leisure, use

        :view $VIMRUNTIME/vimrc_example.vim

to see what that "example" vimrc actually does.

OTOH, if the colorscheme still _doesn't_ load, it means you didn't 
download it where you should have. All colorschemes must reside in the 
"colors" subdirectory of one of the directories in 'runtimepath'. For 
colorschemes not distributed with Vim, this normally means one of the 
following:

        ~/.vim/colors/
on Unix-like systems, for colorschemes private to one user;

        ~/vimfiles/colors/
on Windows, for colorschemes private to one user;

        $VIM/vimfiles/colors/
on any platform, for colorschemes available to all users.


Best regards,
Tony.
-- 
Ingrate, n.:
        A man who bites the hand that feeds him, and then complains of
indigestion.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to