janus icon indicating copy to clipboard operation
janus copied to clipboard

Can't replace color themes

Open Raynes opened this issue 13 years ago • 5 comments

I was trying to use the current jellybeans color theme from the Github repo, but placing it in ~/.janus didn't override the one included with janus. In particular, the sample-pack. I can't seem to disable it either.

Raynes avatar Jan 22 '12 07:01 Raynes

Assuming the jellybeans repo is in ~/.janus as a submodule you can drop the linked snippet in ~/.gvimrc.after after you specify your colorscheme.

https://gist.github.com/1733279

adrianrego avatar Feb 03 '12 22:02 adrianrego

I'm not certain any color schemes are being loaded from ~/.janus. I was attempting the same thing, and changed the name to see if overriding was the issue. I still have to source the file manually to load the colors. This could just be my lack of understanding of Vim, though.

Jonplussed avatar Feb 11 '12 09:02 Jonplussed

@malefactor I think your right. I installed a new color scheme called paintbox in ~/.janus/paintbox/paintbox.vim and when I open MacVim I get:

Error detected while processing /Users/ryan/.vimrc.after:
line    1:
E185: Cannot find color scheme paintbox

Error detected while processing /Users/ryan/.gvimrc.after:
line    1:
E185: Cannot find color scheme paintbox

RLovelett avatar May 05 '12 23:05 RLovelett

Any plugins in ~/.janus, including colors, need to be in the proper folder structure for pathogen to load them. In the example with paintbox it should be ~/.janus/paintbox/colors/paintbox.vim

adrianrego avatar May 06 '12 12:05 adrianrego

thanks for the tip adrianrego

pyed avatar Jul 10 '12 07:07 pyed