Loading ...
Sorry, an error occurred while loading the content.
 

Re: Change vim/gvim colorschemes

Expand Messages
  • Christian Brabandt
    ... let g:mycolors = split(glob(expand( $HOME ). /.vim/colors/*.vim ), n ) regards, Christian -- You received this message from the vim_use maillist. For
    Message 1 of 9 , Feb 1, 2010
      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
    • Athunye
      ... 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
      Message 2 of 9 , Feb 1, 2010
        On Feb 1, 8:32 am, "Christian Brabandt" <cbli...@...> 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
      Your message has been successfully submitted and would be delivered to recipients shortly.