-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
32 lines (18 loc) · 776 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
This is a mirror of http://www.vim.org/scripts/script.php?script_id=5210
#Auto Solarized
This 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](http://ethanschoonover.com/solarized/vim-colors-solarized)
## Installation
[Vundle](https://github.com/gmarik/Vundle.vim) 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