mihaifm / 4colors

Distraction-free Vim theme that only uses 4 colors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4colors

image1

image2

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 compatibility

The 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 - black

Use the global variables as guidance.

License

MIT

Enjoy!

About

Distraction-free Vim theme that only uses 4 colors.

License:MIT License


Languages

Language:Vim Script 100.0%