Giter Site home page Giter Site logo

gruvbox's Introduction

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.

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.

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.

Contrast Options

Documentation

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

Features

Contributions

See gruvbox-contrib repo for contributions, ports and extras.

ToDo

  • Filetype syntax highlighting (R, TeX, Swift, Erlang)
  • Plugin support (Tagbar, VimPlug)

Self-Promotion

If you like gruvbox follow the repository on GitHub and vote for it on vim.org.

License

MIT/X11

gruvbox's People

Contributors

amfl avatar antoinemadec avatar blakewilliams avatar blueyed avatar cryptomilk avatar daniely avatar ethe avatar gmoe avatar ianks avatar isaachess avatar joelmo avatar jonasmalacofilho avatar kshenoy avatar magicmark avatar morhetz avatar mvcouwen avatar ninrod avatar skywinder avatar synasius avatar thinca avatar vividboarder avatar yashmehrotra avatar yous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gruvbox's Issues

Unable to log in when sourcing the palette shellscript

As mentioned in the wiki, I added the line source "$HOME/.vim/bundle/gruvbox/gruvbox_256palette.sh" to my ~/.zshrc and later noticed that this prevented me from logging in to this user (the .zshrc file gets sourced at login).

I'm not sure what is causing this problem -- the file exists and has the needed permissions. However I made a modification to the line so it wouldn't get sourced at login, and I'm able to log in again.

[[ -o login ]] || source "$HOME/.vim/bundle/gruvbox/gruvbox_256palette.sh"

Comments not highlighted in Clojure source code

Hi,

When editing Clojure files using this colorscheme, comments are not properly highlighted. Basically the code inside a comment block is highlighted as if it were just normal code.

screen shot 2015-06-04 at 21 28 47

Thanks!

JavaScript: Color keyword new.

As you can see on screen shot below all keywords such as self, var, if, etc. are colored the same way except for new. Since new is also a keyword it should be, in my opinion, colored the same way.

2015-05-27-151106_569x332_scrot

Thanks!

Info necessary for making a port of this colorscheme

So I've recently been slowly moving to Emacs. And while the Zenburn theme isn't terrible, it isn't good either (IMO).

So far this theme has been by far my favorite so I'd like to port it to the Emacs version.

Already have a repo ready for it: https://github.com/Greduan/emacs-theme-gruvbox

So really all I need is info that'll save me time. Like, color for integers, strings, variable names and all that stuff. Clear instructions on that please! So that I don't mess it up in the port by accident. :)

And of course, the color values themselves. :)

Thanks again, and keep up the good work. :)

option to disable the color settings for Indent Guides

I'm using the Indent Guides plugin, but the Gruvbox disables the color setting for it. It may be good to have an option to disable this behaviour, because if the indent char is space, then the visual mode's color is the same as the indenting color and it can be frustrating when i like to select the indent itself for example.

indent with spaces

indent with tabs

Poor readability in vimdiff with cursorline

Hello,

I've noticed that when I have :set cursorline in my vimrc and I try to vimdiff something, my cursor line makes diffed text quite hard to read. See picture for an example.

Any ideas on how to solve this?

screen shot 2014-12-17 at 15 48 55

For Sublime text

Excellent color scheme !! It would be nice if you can make one compatible with Sublime Text or Textmate.

listchar color changes with cursorline

  • Expected: Listchars ($ at end of line in example) to be the same color for all lines
  • Experienced: Listchars turn normal text color on cursorline lines.

Reproducable with this .vimrc and vim-plug:

call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
call plug#end()

set background=dark
colorscheme gruvbox

set cursorline
set listchars=eol:$
set list

Image:

Image

This may be related to issue #40 ?

Although this might actually be intended behavior :)

Installation issue.

Hi. I use Vundle.
So, I add string:

Plugin 'morhetz/gruvbox'

change string

colorscheme badwolf

to:

colorscheme gruvbox

And run vundle installation vim +PluginInstall +qall
But I gets error:

Not an editor command: colorcheme gruvbox

Also I try to delete colorscheme. But have no luck.
Also I try to add and remove

set background=dark    " Setting dark mode

But it don't get any effect.

Whats I'm doing wrong?

Diff styles are not bold in terminal

How it looks right now (it's very hard to read on my monitor ๐Ÿ‘“):

:hi DiffAdd
DiffAdd        xxx term=bold ctermfg=236 ctermbg=142 guifg=#32302f guibg=#b8bb26
Press ENTER or type command to continue

selection_046

How it looks after manually running :hi DiffAdd cterm=bold command:
selection_047

When hlsearch is on, the cursor inverts the search color and not visible

I have a little issue when searching. Gruvbox inverts the cursor color so that when the search is highlighted it's inverted once again. It's hard to spot the currently highlighted result if there are many present on the screen. I wonder what would be the best solution in this case. I really like inverted cursor, are there probably way to make it solid color when searching only?
Thanks.

comments are reverse-video in xterm

Hello,

Comments are reverse-video in xterm because only term=bold is defined (cterm= is not defined):
problem

The solution is to define cterm= for comments:

highlight Comment cterm=bold

solution

Thanks for creating this wonderful colorscheme! ๐Ÿ˜บ

Colors are off

Hello, and thanks for the great color scheme!

I haven't tried light mode yet, but in dark mode, comments are highlighted as if in light mode. And generally, the colors aren't as vibrant as the screenshot in the README. And some of the syntax highlighting is off. For instance, method names are not highlighted.

screen shot 2013-05-29 at 9 42 46 am

Contrast in jekyll markdown files

Hi,

I'm using your theme and it works great except for certain parts in my markdown files. Now, I don't know if this is an issue with gruvbox or with the way my markdown files are being syntax highlighted by the other plugin. See the screenshot

Some parts, like fenced code blocks and inline html and yaml frontmatter has a very low contrast and is hard to distinguish from the background. Is this an issue with gruvbox or should I contact the plugin maintainer?

Lighter background on terminal

The background color is significantly darker in the GUI version compared to the terminal version. I hope it's just a quick patch. :)

Also remember to update the TODO list in the README file. ;)

MacVim:
screen shot 2013-10-18 at 8 49 09 pm

Terminal:
screen shot 2013-10-18 at 8 48 05 pm

EDIT:
Also I just noticed the line colors are different for both versions as well. Might want to look into that. ;)

Maybe add Gruvbox Airline theme?

I have some months ago started using a Gruvbox Airline theme of my own making that I'm not sure if you would like to refine somehow before merging to Airline.

Added it on this commit: https://github.com/Greduan/dotfiles/commit/d06899e7245f2eb9f472d5d44cb66af15bc8369d IIRC

The file is this one: https://github.com/Greduan/dotfiles/blob/master/vim/autoload/airline/themes/gruvbox.vim

Any modifications you'd like made to it? I personally like it bt I'm quite uncreative when it comes to this stuff, I like using as few colors as possible, which you may not want. :)

Comments looking strange withing tmux

Colors aren't working for me, can you tell me where the issue could be? I read #4, but it doesn't seem to solve the problem.

https://asciinema.org/a/15575

Tmux is running with screen-256color, I also tried with screen-256color-bce with no avail.

PS.- I actually see the italics, dunno why they can't be seen trough the screencast

Color of statusbar in inactive windows

Hi. I'm not entirely sure if this is a gruvbox issue.
I'd like to change the background-color of the statusbar in splitted windows. With the setup i'm using right now (dimInactive) the inactive statusbar has the same color as the background in inactive windows - thus giving no clear visual seperation (by colors) between horizontally split windows.
Is this something which can be handled by gruvbox or is it a vim-specific configuration?

Go method and struct highlighting missing

So I've been successfully using gruvbox on my iMac and wanted to also set it up in my vagrant machine running Ubuntu 14.04 LTS.
I wrote a provisioning file to install vim, vundle and gruvbox. Everything gets installed but if I compare the same file with my host OS X machine and the virtual machine with Ubuntu it looks different:

screen shot 2014-09-10 at 09 27 56

Basically some highlights are missing. I'm also running ~/.vim/bundle/gruvbox/gruvbox_256palette.sh in my .bashrc.

Any clue?

vim-signature crashes when I use gruvbox

Not sure if gruvbox is guilty or vim-signature is :-/

Anyway given my vimrc:

...
Bundle 'kshenoy/vim-signature'
Bundle 'morhetz/gruvbox'
...
if !has("gui_running")
  let g:gruvbox_italic=0
endif
set t_Co=256 | set background=dark | colorscheme gruvbox

Whenever I create a new mark, like hitting ma in normal mode I get:

Error detected while processing function signature#Input..signature#mark#Toggle..signature#mark#Place..signature#sign#Place..signature#sign#RefreshLine:
line   20:
E121: Undefined variable: SignatureMarkText

Commenting lines 664 and 665 in ~/.vim/bundle/gruvbox/colors/gruvbox.vim seem to fix the problem for me.

Requesting rxvt-unicode theme

I'm back on Arch again. ๐Ÿ˜„

So I'm using urxvt again and I would love to have the terminal theme be Gruvbox.

Have you developed one? You also suggested using a version of urxvt in which you can configure all 256 colors right? What would be the specific config for that?

And out of curiosity, what WM/DE do you use? I use Alopex and I'm loving it. :)

Console support.

Excellent theme, but it doesn't look right in console (the comments especially):

Wrong colors

Is mine messed up, or does it not support console yet?

Powerline colors

I wanted to report, that Powerline colors are a bit off, especially with bg=dark, where the window status bar is hardly visisble for inactive windows.

Then I have seen it on the todo list already.

Have you looked into this already?

For reference, the colors and transitions ("nc" => "not current") are in ./powerline/config_files/colorschemes/vim/default.json.

Thanks!

Markdown has inverted colors when using *

2014-04-10-040234_1366x768_scrot

As you can see in the screenshot I already set:

let g:gruvbox_italic = 0
let g:gruvbox_italicize_strings = 0
let g:gruvbox_italicize_comments = 0

My TERM is screen-256colors but when using rxvt-unicode-256colors this problem doesn't show.

Is there any workaround for this?

Add specific support for MiniBufExpl

It would be cool if you could add specific support for the MiniBufExpl plugin for Vim. :)

You might also want to start using this plugin instead of Vim's tabline. Which is apparently wrong to use it as such, a tab line: http://stackoverflow.com/a/103590/1622940

In any case you should try it out. It's better. ;)

P.S.: Assuming you're using the tabline from the images which seem to have a tabline there. :)

Spelling syntax highlight questions

Currently the syntax highlighting for spelling works as below:

let g:gruvbox_improved_warnings=0

Terminal:
screen shot 2015-06-16 at 3 36 20 pm

macvim:
screen shot 2015-06-16 at 3 36 07 pm

It feels wrong since a bad spelling is more important than a not capitalised word, in other colorschemes, a bad spelling is usually marked as red and a not capitalised word is usually blue. And btw why does the behaviour of terminal and GUI differ? is there a bug?

jellybeans(terminal)
screen shot 2015-06-16 at 3 40 12 pm

jellybeans(GUI):
screen shot 2015-06-16 at 3 40 17 pm

I read the documents and found there is an option called g:gruvbox_improved_warnings

I set it but the results went worse:
Terminal:
screen shot 2015-06-16 at 3 41 52 pm

GUI:
screen shot 2015-06-16 at 3 42 30 pm

It made the not capitalised word more visible than a mis spelled word.

Could you change the colors of the spelling syntax?

Also SyntasticError is using red undercurl which in my opinion is great, so how about we change the color of mis spelled words and not capitalised words to the same as jellybeans?

Terminal theme on base gruvbox

Thank you for beautiful color scheme. Do you have any plans to make color theme for terminal? Like solorise have? Thank you in advance.

Italic font in terminal(urxvt)

Hello!

Recently you have disabled italics in terminals by default. How can I enable it again?
I use urxvt and I tried to add "let g:gruvbox_italic=1" in my .vimrc, but it did not help.

gruvbox_256palette.sh gets reset (gnome-terminal on Ubuntu)

I am using gnome-terminal on Ubuntu and noticed, that the effect of gruvbox_256palette.sh gets reset on Alt-Tab or when clicking the terminal window title.

Before (with gruvbox_256palette.sh applied):
vi - zshrc _009

After:
vi - zshrc _008

I get re-execute gruvbox_256palette.sh (after exiting Vim) to fix it, but since this effect is triggered on Alt-Tab already, it's hard to work around.

This affects both the dark and light schemes.

I think a fix for this might be to have a real palette for gnome-terminal?

Something like the following might do for installation: https://github.com/sigurdga/gnome-terminal-colors-solarized

For what it's worth: Konsole does not re-act on gruvbox_256palette.sh altogether, and xterm is unaffected by this reset-bug.

Bad background colors on sing gutter when using gruvbox + git-gutter

I just updated all my vim plugins, and found a weird issue with gruvbox + git-gutter. I know it's not git-gutter fault because other colorschemes doesn't exhibit that problem:

selection_036

I would have expected the background of the sign to be the same of the background of the writing area, not the same as the cursorline.

PS.- it also happens with gvim, so it's not a terminal issue :)

Some words are not bold

Some words are not bold. For example:

  • the class name 'CurrentPlan'
  • attr_reader
  • the instance variables 'current_session'

Based on the screenshots at https://github.com/morhetz/gruvbox/wiki/Gallery
All those are supposed to be bold.

Could it be the font I am using? I already have:

let gruvbox_bold = 1

in ~/.vimrc. In ~/.Xresource, I have:

URxvt.font:                           xft:DejaVu Sans Mono:size=11:antialias=true

However, the method names (initialize, active_plans, etc) are bold. But nothing else. Any ideas?

Have a look at screenshot below.

2014-07-14-02 07 53_624x404

Request: change color of block quote in markdown

I'm wondering if you'd consider setting the color of block quotes in markdown to something other than the current grey? Right now this is the same color as footnote text (though not the identifier, which is a pleasant red). It would be nice to have these differentiated, and to have the block quotes in a brighter color, perhaps blue?

I use vim, and your excellent color scheme, primarily for writing, and this change would help me.

Better selection colors

Current selection color is the inversion of normal colors, this is the only thing I don't like in this colorscheme... and I like it so much. If one uses some rainbow braces plugin for coloring braces, this inverted scheme gets cluttered with so many colors. Also, talking about colors, I miss a differentiated color for the Sign Column background (normally used by syntastic et. al. for highlighting errors).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.