-
Notifications
You must be signed in to change notification settings - Fork 63
Configuration
In order to change these options, type let g:gruvbox_(option) = '(value)' in your .vimrc (with quotes).
All settings must go before the command colorscheme gruvbox.
An dictionary containing overrides for colors in the palette.
If a value in the dictionary is a string, it must be in hexidecimal rgb color format. It will overwrite the gui value of the palette color indicated by the key.
If the value is a number, it must be between 0-255. It will overwrite the terminal color.
If the value is a list, it must contain the gui color followed by the terminal color. It will replace both colors.
Possible palette colors:
dark0_harddark0dark0_softdark1dark2dark3dark4dark4_256gray_245gray_244light0_hardlight0light0_softlight1light2light3light4light4_256bright_redbright_greenbright_yellowbright_bluebright_purplebright_aquabright_orangeneutral_redneutral_greenneutral_yellowneutral_blueneutral_purpleneutral_aquaneutral_orangefaded_redfaded_greenfaded_yellowfaded_bluefaded_purplefaded_aquafaded_orangebg0bg1bg2bg3bg4grayfg0fg1fg2fg3fg4fg4_256redgreenyellowbluepurpleaquaorange
Enables bold text.
default: 1
Enables italic text.
default: gui 1, term 0
Enables underlined text.
default: 1
Enables undercurled text.
default: 1
Uses 256-color palette (suitable to pair with gruvbox-palette shell script). If you're dissatisfied with that, set option value to 16 to fallback base colors to your terminal palette. Refer here and here for details.
default: 256
Possible values are soft, medium and hard.
default: medium
Changes dark mode contrast. Overrides g:gruvbox_contrast option. Possible values are soft, medium and hard.
default: medium
Changes light mode contrast. Overrides g:gruvbox_contrast option. Possible values are soft, medium and hard.
default: medium
Changes cursor background while search is highlighted. Possible values are any of gruvbox palette.
default: orange
Changes search highlight color foreground. Possible values are any of gruvbox palette.
default: yellow
Changes number column background color. Possible values are any of gruvbox palette.
default: none
Changes sign column background color. Possible values are any of gruvbox palette.
default: bg1
Changes color column background color. Possible values are any of gruvbox palette.
default: bg1
Changes vertical split background color. Possible values are any of gruvbox palette.
default: bg0
Changes cursorline background color. Possible values are any of gruvbox palette.
default: bg1
Enables italic for comments.
default: 1
Enables italic for strings.
default: 0
Inverts selected text.
default: 1
Inverts GitGutter and Syntastic signs. Useful to rapidly focus on.
default: 0
Inverts indent guides. Could be nice paired with set list so it would highlight only tab symbols instead of it's background.
default: 0
Inverts tabline highlights, providing distinguishable tabline-fill.
default: 0
Changes the color of the currently selected tab foreground color. Possible values are any of gruvbox palette.
default: green
Extrahighlighted strings
default: 0
Extrahighlighted warnings
default: 0
Delegates guisp colorings to guifg or guibg. This is handy for terminal vim. Uses guifg or guibg for colors originally assigned to guisp. guisp concerns the colors of underlines and strikethroughs. Terminal vim cannot color underlines and strikethroughs, only gVim can. This option instructs vim to color guifg or guibg as a fallback.
default: 'NONE'
Possible Values: 'fg', 'bg'
(...)
(...)
(...)
(...)
(...)
(...)