https://github.com/ek9/vim-auto-solarize
vim plugin to automatically start solarized dark or light theme based on time of the day
https://github.com/ek9/vim-auto-solarize
neovim neovim-auto-solarize neovim-colorscheme neovim-plugin solarized solarized-theme vim vim-auto-solarize vim-colorscheme vim-plugin vim-plugins
Last synced: 3 months ago
JSON representation
vim plugin to automatically start solarized dark or light theme based on time of the day
- Host: GitHub
- URL: https://github.com/ek9/vim-auto-solarize
- Owner: ek9
- License: mit
- Created: 2017-06-06T15:54:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T16:33:41.000Z (about 8 years ago)
- Last Synced: 2025-03-12T07:53:31.627Z (3 months ago)
- Topics: neovim, neovim-auto-solarize, neovim-colorscheme, neovim-plugin, solarized, solarized-theme, vim, vim-auto-solarize, vim-colorscheme, vim-plugin, vim-plugins
- Language: Vim script
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
vim-auto-solarize
=================[vim-auto-solarize][0] plugin automatically starts solarized dark or solarized
light theme based on time of the day.## Install
Install `vim-colors-solarized` and `vim-auto-solarize` using Vundle or
Pathogen:```vim
Bundle 'altercation/vim-colors-solarized'
Bundle 'ek9/vim-auto-solarize'
```## Usage
`F8` allows toggling background between light and dark. This key is configurable
via an option listed below.You have the following configuration options:
- **g:auto_solarize_start_light** (Default: *'0700'*) - controls the time when
light background will be activated. Format is HHMM (HH - hours (0-23); MM-
minutes (0-59)). To disable, set to `2400`. Example:```vim
let g:auto_solarize_start_light = '0700'
```You can set the time to any value, even higher than
`g:auto_solarize_start_dark`. Plugin is smart enough to work correctly with
different time configurations.- **g:auto_solarize_start_dark** (Default: *'1850'*) - controls the time when
dark background will be activated. Format is HHMM (HH - hours (0-23); MM-
minutes (0-59)). To disable, set to `2400`. Example:```vim
let g:auto_solarize_start_dark = '1850'
```You can set the time to any value, even lower than
`g:auto_solarize_start_light`. Plugin is smart enough to work correctly with
different time configurations.- **g:auto_solarize_togglebg_key** (Default: *''*) - allows you to change
key for toggling background between light and dark. Example:```vim
let g:auto_solarize_togglebg_key = ''
```- **g:auto_solarize_check_on_save** (Default: *1*) - allows you to control
if AutoSolarize checks should be applied upon file save. Set to *0* to
disable. Example:```vim
let g:auto_solarize_check_on_save = 0
```
## AuthorsCopyright (c) 2015-2017 ek9 (https://ek9.co).
## License
Licensed under [MIT License](LICENSE).
[0]: https://github.com/ek9/vim-auto-solarize