morhetz /gruvbox

Retro groove color scheme for Vim

★ 15,842⑂ 1,122👁 126⑃ 110● 361▤ 4
Vim ScriptCreated 2012-11-28
下载:v2.0.0: gruvbox is the new blackv2.0.0 ↓2.0.02015-09-04
+3
日增长
15,842
stars
1,122
forks
126
watchers
110
prs
361
issues
4
releases

README

[!NOTE]
 Long time no see, folks. morhetz here. \
 I'm building a desktop database client rn. \
 If you're interested in early access once it's ready, drop me a line at
 [email protected].

gruvbox is heavily inspired by [badwolf][], [jellybeans][] and [solarized][].

Designed as a bright theme with pastel 'retro groove' colors and light/dark mode switching in the way of [solarized][]. The main focus when developing gruvbox is to keep colors easily distinguishable, contrast enough and still pleasant for the eyes.

   [badwolf]: https://github.com/sjl/badwolf
   [jellybeans]: https://github.com/nanotech/jellybeans.vim
   [solarized]: http://ethanschoonover.com/solarized

Attention
---------

1. Read this first
2. Typeface from gallery is Fantasque Sans Mono
3. Typeface from screenshots below is Fira Mono

Screenshots
-----------

Refer [Gallery][] for more syntax-specific screenshots.

   [Gallery]: https://github.com/morhetz/gruvbox/wiki/Gallery

 Dark mode

!Screenshot Dark

 Light mode

!Screenshot Light

 Airline theme

!Screenshot Airline

Palette
-------

 Dark mode

!Palette Dark

 Light mode

!Palette Light

Contrast options
----------------

Refer [wiki section][] for contrast configuration and other options.

   [wiki section]: https://github.com/morhetz/gruvbox/wiki/Configurationggruvbox_contrast_dark

!Contrast Options

Documentation
-------------

Please check [wiki][] for installation details, terminal-specific setup, troubleshooting, configuration options and others.

   [wiki]: https://github.com/morhetz/gruvbox/wiki

Features
--------

 Lots of style-customization options (contrast, color invertion, italics usage etc.)
 Extended filetype highlighting: Html, Xml, Vim, Clojure, C, Python, JavaScript, TypeScript, PureScript, CoffeeScript, Ruby, Objective-C, Go, Lua, MoonScript, Java, Markdown, Haskell, Elixir
 Supported plugins: [EasyMotion][], [vim-sneak][], [Indent Guides][], [indentLine][], [Rainbow Parentheses][], [Airline][], [Lightline][], [GitGutter][], [Signify][], [ShowMarks][], [Signature][], [Syntastic][], [Ale][], [CtrlP][], [Startify][], [NERDTree][], [Dirvish][]

   [EasyMotion]: https://github.com/Lokaltog/vim-easymotion
   [vim-sneak]: https://github.com/justinmk/vim-sneak
   [Indent Guides]: https://github.com/nathanaelkane/vim-indent-guides
   [indentLine]: https://github.com/Yggdroot/indentLine
   [Rainbow Parentheses]: https://github.com/kien/rainbow_parentheses.vim
   [Airline]: https://github.com/bling/vim-airline
   [Lightline]: https://github.com/itchyny/lightline.vim
   [GitGutter]: https://github.com/airblade/vim-gitgutter
   [Signify]: https://github.com/mhinz/vim-signify
   [ShowMarks]: http://www.vim.org/scripts/script.php?script_id=152
   [Signature]: https://github.com/kshenoy/vim-signature
   [Syntastic]: https://github.com/scrooloose/syntastic
   [Ale]: https://github.com/w0rp/ale
   [CtrlP]: https://github.com/kien/ctrlp.vim
   [Startify]: https://github.com/mhinz/vim-startify
   [NERDTree]: h

Top issues

Latest release

v2.0.0: gruvbox is the new black v2.0.0 2015-09-04
Breaking changes
- deprecated g:gruvbox_contrast option
- splitted out absolute colors vs relative aliases (see colortable for more info)

Fixes
- 72 String color in JSON confound with the background color
- 40 Poor readability in vimdiff with cursorline

Optimisation
- Load time decreased from ~50ms to ~20ms

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON