A dark Vim colorscheme
Installation
-
Copy colors/kuroi.vim to:
~/.vim/colors/kuroi.vim
or alternatively, use a plugin manger such as vim-plug, NeoBundle, Vundle, or Pathogen.
-
Terminal color modes:
256-color terminal
To use the colorscheme in a 256-color terminal, add this to your ~/.vimrc:
set t_Co=256
True color terminal
To use the true color mode, make sure to set this in your ~/.vimrc:
set termguicolors
This works in both true color terminals and GUI Vim clients such as GVim or MacVim.
Tip: for some reason, Vim with termguicolors set inside Tmux might have a different background color (a little off) than the original background color. To work around this issue, please make sure you have this
set -g terminal-overrides ",xterm-256color:Tc"
in your tmux.conf file. -
Add to ~/.vimrc:
set background=dark "or use the light theme: set background=light colorscheme kuroi
Credits
This colorscheme is originally based on vim-hybrid. I only changed the color palette and some other properties.
Todos
- Remove the light theme?
- Remove hardcoded values
- Refactor the code
Contribution
Contributions are welcome. If you find something you want to change, open an issue or send a pull request.
License
See LICENSE.
Screenshots
Dark
Light