Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mihaifm/4colors
Distraction-free Vim theme that only uses 4 colors.
https://github.com/mihaifm/4colors
vim vim-colorscheme vim-plugin vim-theme
Last synced: about 1 month ago
JSON representation
Distraction-free Vim theme that only uses 4 colors.
- Host: GitHub
- URL: https://github.com/mihaifm/4colors
- Owner: mihaifm
- License: mit
- Created: 2021-08-28T17:19:53.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-22T18:37:51.000Z (8 months ago)
- Last Synced: 2024-09-22T00:19:06.999Z (about 2 months ago)
- Topics: vim, vim-colorscheme, vim-plugin, vim-theme
- Language: Vim Script
- Homepage:
- Size: 10.7 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 4colors
![image1](https://github.com/mihaifm/4colors/assets/981184/6349cbe0-6a06-4e2c-8aa8-8d92fdb8e195)
![image2](https://github.com/mihaifm/4colors/assets/981184/81daed10-c700-4175-9a98-24ed49c396d5)
4colors is a distraction-free, dark colorscheme for vim that only uses 4 colors. It's still work in progress, so feedback is appreciated.
The goals here are:
- minimalism - don't get distracted by a rainbow and focus on your coding
- easy customization - simply change the 4 colors
- terminal compatibilityThe plugin also comes with vim-airline and lightline themes.
## Installation
Install with your favorite plugin manager, or manually via:
git clone https://github.com/mihaifm/4colors ~/.vim/pack/mybundle/start/
If you are using airline, add this to your vimrc:
let g:airline_theme='4colors'
For lightline:
let g:lightline = { 'colorscheme': '4colors' }
## Customization
To customize the theme, you can change the 4 colors (and optionally the 4 grays) at the top of the script.
You can choose any color that broadly fits into a pallete:
* warm - hot - chill - cold
* white - gray - dark - blackUse the [global variables](https://github.com/mihaifm/4colors/blob/f0b50e4e58f2d6c8a9ae989a26f5d6b2dcaeabee/colors/4colors.vim#L13) as guidance.
## License
MIT
*Enjoy!*