Skip to content

vim-scripts/DayTimeColorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3562

This plugin calculates dawn, dusk, sunrise and sunset times and sets one of the four user defined color schemes according to sun position.
Your vim must be compiled with +float feature.
Plugin uses algorithm from "Almanac for Computers, 1990"
Which description has been found at:
http://williams.best.vwh.net/sunrise_sunset_algorithm.htm
Idea of plugin is taken from:
http://allaboutvim.blogspot.com/2011/01/blog-post.html
...and turned into overkill =)
Automatic refresh code is taken from: vimscript #2658

About

Change color scheme according to position of the sun.

Resources

Stars

Watchers

Forks

Packages

No packages published