Monday, February 1, 2010

Re: Change vim/gvim colorschemes

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

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

No comments: