jdhao / gruvbox-material

Gruvbox with Material Palette

Home Page:https://www.vim.org/scripts/script.php?script_id=5814

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Gruvbox Material is a modified version of Gruvbox, the contrast is adjusted to be softer in order to protect developers' eyes.

There are 3 palettes available in this color scheme:

material: Carefully designed to have a soft contrast(click on this line to preview)
๐ƒ๐š๐ซ๐ค ๐‹๐ข๐ ๐ก๐ญ
๐‡๐š๐ซ๐ material-hard-dark material-hard-light
๐Œ๐ž๐๐ข๐ฎ๐ฆ material-medium-dark material-medium-light
๐’๐จ๐Ÿ๐ญ material-soft-dark material-soft-light
mix: Color palette obtained by calculating the mean of the other two(click on this line to preview)
๐ƒ๐š๐ซ๐ค ๐‹๐ข๐ ๐ก๐ญ
๐‡๐š๐ซ๐ mix-hard-dark mix-hard-light
๐Œ๐ž๐๐ข๐ฎ๐ฆ mix-medium-dark mix-medium-light
๐’๐จ๐Ÿ๐ญ mix-soft-dark mix-soft-light
original: The color palette used in the original gruvbox(click on this line to preview)
๐ƒ๐š๐ซ๐ค ๐‹๐ข๐ ๐ก๐ญ
๐‡๐š๐ซ๐ original-hard-dark original-hard-light
๐Œ๐ž๐๐ข๐ฎ๐ฆ original-medium-dark original-medium-light
๐’๐จ๐Ÿ๐ญ original-soft-dark original-soft-light

This color scheme uses the material palette by default, you can use a global variable to switch to another palette.

Features

  • Carefully designed color palette for eye protection.
  • Switch back to the original color palette whenever you like.
  • Highly customizable.
  • Rich support for common file types and plugins.
  • Italic support ๐ŸŽ‰

Installation

Via Plugin Manager

Take vim-plug for example:

Plug 'sainnhe/gruvbox-material'

For better syntax highlighting support, please install sheerun/vim-polyglot or nvim-treesitter/nvim-treesitter.

Manually

  1. Clone this repository.
  2. Copy /path/to/gruvbox-material/autoload/gruvbox_material.vim to ~/.vim/autoload/.
  3. Copy /path/to/gruvbox-material/colors/gruvbox-material.vim to ~/.vim/colors/ .
  4. Copy /path/to/gruvbox-material/doc/gruvbox-material.txt to ~/.vim/doc/ and execute :helptags ~/.vim/doc/ to generate help tags.
  5. To install airline theme, copy /path/to/gruvbox-material/autoload/airline/themes/gruvbox_material.vim to ~/.vim/autoload/airline/themes/ .
  6. To install lightline theme, copy /path/to/gruvbox-material/autoload/lightline/colorscheme/gruvbox_material.vim to ~/.vim/autoload/lightline/colorscheme/ .

AUR

There are some packages available for Arch Linux users in AUR:

Usage

See :help gruvbox-material.txt

Related Projects

See this wiki page.

More Color Schemes

Credits

Inspirations

Maintainers

Sainnhe Park Zixin Yin
Sainnhe Park Zixin Yin

License

MIT License

About

Gruvbox with Material Palette

https://www.vim.org/scripts/script.php?script_id=5814

License:MIT License


Languages

Language:Vim Script 99.4%Language:Shell 0.6%