Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ldelossa/vimdark
A dark theme for vim based on vim-monotonic and chrome's dark reader
https://github.com/ldelossa/vimdark
Last synced: 14 days ago
JSON representation
A dark theme for vim based on vim-monotonic and chrome's dark reader
- Host: GitHub
- URL: https://github.com/ldelossa/vimdark
- Owner: ldelossa
- License: mit
- Created: 2019-04-16T16:40:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-20T12:27:28.000Z (over 2 years ago)
- Last Synced: 2024-07-31T20:48:46.163Z (3 months ago)
- Language: Vim script
- Homepage:
- Size: 6.84 MB
- Stars: 69
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim - ldelossa/vimdark - A minimal Vim theme for night time. Loosely based on vim-monotonic and chrome's dark reader extension. A light theme is included as well for the day time. (Colorscheme / Tree-sitter Supported Colorscheme)
README
# vimdark
A Vim theme for night time. Loosely based on vim-monotonic and chrome's dark reader extention.
A light theme is included as well for the day time.# Installation (via vim-plug)
```
Plug 'ldelossa/vimdark'
```## Theme switching
Add this in your vimrc to change dark and light themes based on time
```bash
" use vimdark from 9pm to 10am
if strftime("%H") >= 21 || strftime("%H") <= 9
colorscheme vimdark
else
colorscheme vimlight
endiffunction! DarkMode()
colorscheme vimdark
endfunctionfunction! LightMode()
colorscheme vimlight
endfunction
```# Go Screenshot
![Alt text](./screenshots/vim-dark-go-screenshot.png?raw=true "go code")
![Alt text](./screenshots/vim-light-go-screenshot.png?raw=true "go code")# C
![Alt text](./screenshots/vim-dark-c-screenshot.png?raw=true "vim-fugitive diff")
![Alt text](./screenshots/vim-light-c-screenshot.png?raw=true "vim-fugitive diff")