Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lifepillar/vim-gruvbox8
A simplified and optimized Gruvbox colorscheme for Vim
https://github.com/lifepillar/vim-gruvbox8
Last synced: about 1 month ago
JSON representation
A simplified and optimized Gruvbox colorscheme for Vim
- Host: GitHub
- URL: https://github.com/lifepillar/vim-gruvbox8
- Owner: lifepillar
- Created: 2018-01-22T20:56:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-23T19:44:13.000Z (5 months ago)
- Last Synced: 2024-11-12T15:07:05.205Z (3 months ago)
- Language: Vim Script
- Size: 418 KB
- Stars: 534
- Watchers: 8
- Forks: 49
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Gruvbox 8 - Vim Color Scheme

**Note: if you are using Neovim, checkout the `neovim` branch of this repo.**
This is a simplified and optimized* version of
[Gruvbox](https://github.com/morhetz/gruvbox) that I have developed
to address some issues I had with the official color scheme.These are the main differences compared to the official Gruvbox:
- by default, no plugin and filetype highlight groups to avoid messing up syntax
highlighting after switching color schemes (they can be enabled through
options);
- reduced number of options;
- all options are documented;
- slightly different (and, IMHO, better) 256-color palette;
- gracefully degrades to 16, 8 or even only 2 colors;
- support for transparent backgrounds in terminals;
- no shell scripts;
- up to date highlight group definitions (e.g., includes `ToolbarLine`
and `ToolbarButton`);
- defines `g:terminal_ansi_colors`;
- generated by [Colortemplate](https://github.com/lifepillar/vim-colortemplate),
i.e., easily hackable.* Below is the result of a benchmark made using Vim 8.1.1550 and
iTerm 2 v3.2.9 on a MacBook Pro Early 2015 with macOS 10.14.5. Note that Gruvbox
8 is optimized for what are believed to be the most common use cases, i.e., GUI,
true-color terminals and 256-color terminals.
![]()
## True-color Variants

## 256-color Variants

## Less capable terminals
Earlier versions of Gruvbox 8 would complain when the terminal did not have
enough colors. This is no longer the case: Gruvbox 8 will gracefully degrade to
16, 8 or even 2 colors, as illustrated by the screenshot below:
## Hacking
Do you want to hack the theme? Install
[Colortemplate](https://github.com/lifepillar/vim-colortemplate), edit the
files in the `templates` folder, then rebuild the color schemes.