You are not logged in.

#1 2013-03-30 21:42:00

blackout23
Member
Registered: 2011-11-16
Posts: 780

[SOLVED] vim can't use colorscheme from ~/.vim/colors

Hello

I wanted to use the Molokai Theme for vim. So I downloaded molokai.vim from http://www.vim.org/scripts/script.php?script_id=2340 Copied it to ~/.vim/colors folder. In vim I enter :colorscheme molokai.vim but it can't find it.

Also install molokai-vim from AUR but still. E185: Cannot find color scheme 'molokai.vim'

Any thoughts?

Last edited by blackout23 (2013-04-01 08:15:38)

Offline

#2 2013-03-30 22:18:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 19,550
Website

Re: [SOLVED] vim can't use colorscheme from ~/.vim/colors

Don't enter the extension

:colorscheme molokai

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2013-03-30 23:06:41

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] vim can't use colorscheme from ~/.vim/colors

I always put them into /usr/share/vim/vimfiles/colors so that it is not limited to just my user.  I like being able to have the superuser be able to use the colors as well (since the superuser is me).

Offline

#4 2013-03-31 00:22:57

dag
Member
From: US
Registered: 2013-01-20
Posts: 216

Re: [SOLVED] vim can't use colorscheme from ~/.vim/colors

ya dont use extension to call colorscheme

thats a good idea for a default theme I usually just put /root/.vim/colors and .vimrc then cp to user(me); I am not on a network of users so it dont matter too much.

Last edited by dag (2013-03-31 00:24:41)


--------------------------------------
alcoves wonder creates the wonder unto the ages; never lose that.

Offline

#5 2013-04-01 08:15:16

blackout23
Member
Registered: 2011-11-16
Posts: 780

Re: [SOLVED] vim can't use colorscheme from ~/.vim/colors

I'm sure I tried it with and without extension and it didn't work.

However after creating a .vimrc (didn't have one before) according to this:
http://dthettich.tumblr.com/post/131989 … rc-molokai

It worked.

@WonderWoofy

The AUR package installed it into that directory.

Thanks to all!

Offline

Board footer

Powered by FluxBB