Skip to content

Instantly share code, notes, and snippets.

@ryanflorence
Created March 13, 2014 06:18
Show Gist options
  • Save ryanflorence/9522758 to your computer and use it in GitHub Desktop.
Save ryanflorence/9522758 to your computer and use it in GitHub Desktop.
function RandomColorScheme()
let mycolors = split(globpath(&rtp,"**/colors/*.vim"),"\n")
exe 'so ' . mycolors[localtime() % len(mycolors)]
unlet mycolors
endfunction
:command NewColor call RandomColorScheme()
"call RandomColorScheme()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment