Skip to content

whatisinternet/autoSolarize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Auto Solarized

Like f.lux for vim. Auto solarized will change your vim colour scheme to either solarized dark or light depending on the time of day.

{ 07:00 < time < 17:00 } = light

{ 07:00 > time > 17:00 } = dark

Pull requests welcome!

Dependencies

This relies on Solarized VIM

Installation

Vundle is probably your best bet and what is recommended.

Usage

Add to your .vimrc to map leader sc to update your colours.

noremap <Leader>sc :call AutoSetSolarized()<CR>
autocmd VimEnter * call AutoSetSolarized()

Tested on

  • Auto Solarized was developed on and tested with Vim 7.3 on OSX, Linux

TODO:

As one would expect this is a work in progress. Any ideas, updates, fixes are appreciated and can be logged in the GitHub Issues for this project.

  • :shipit:

About

Change from solarized light to dark depending on your local time

Resources

License

Stars

Watchers

Forks

Packages

No packages published