compilation-error/colorswitch.vim
Switch colorscheme and airline theme based on OS settings
| autoload | moved functionality to autoload | |
| plugin | moved functionality to autoload | |
| tests | pre and post hooks | |
| .gitignore | pre and post hooks | |
| LICENSE | Removed Whitespaces from License file | |
| README.md | updated readme instructions | |
colorswitch.vim
Plugin to automatically set dark and light colorschemes based on OS mode. Sets background and colorscheme as well as airline theme.
Currently works for MacOS and linux (KDE) only.
Requirements
On KDE
Optional
Installation
Using vim-plug
Plug 'compilation-error/colorswitch.vim'
Usage
Set the following in your .vimrc
let g:colorswitch_dark_theme='default'
let g:colorswitch_dark_airline='dark'
let g:colorswitch_light_theme='default'
let g:colorswitch_light_airline='dark'
Automatic switching based on OS model when Vim starts.
Manually call ColorSwitchDark, ColorSwitchLight, or ColorSwitchToggle to switch to dark, light modes or toggle mode, respectively.
Licence
MIT