Monday, February 1, 2010

Re: Change vim/gvim colorschemes

On Feb 1, 8:32 am, "Christian Brabandt" <cbli...@256bit.org> wrote:
> On Sun, January 31, 2010 5:08 pm, Athunye wrote:
> > How would I change this line:
> > let g:mycolors = split(globpath(&rtp,"**/colors/*.vim"),"\n")
> > to get only colorschemes from ~/.vim/colors/ instead of colorschemes
> > from every color directory in the runtimepath ?
>
> let g:mycolors = split(glob(expand("$HOME")."/.vim/colors/*.vim"), "\n")
>
> regards,
> Christian

I cannot express my gratitude only by saying thanks, but for now it is
the only thing I can do.
Thanks a lot.

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

No comments:

Post a Comment