Gruvbox 8


Ⅰ. 插件描述

A simplified and optimized Gruvbox colorscheme for Vim

Ⅱ. 基本信息

创建日期:  2018-01-22
使用用户:  19
Github星:  108
插件作者:  Lifepillar

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'lifepillar/gruvbox-8'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'lifepillar/gruvbox-8'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'lifepillar/gruvbox-8'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/lifepillar/vim-gruvbox8

Ⅳ. 文档说明

# Gruvbox 8 - Vim Color Scheme

This is a simplified and optimized* version of
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 autoload folder, no shell scripts;
  • up to date highlight group definitions (e.g., includes ToolbarLine
    and ToolbarButton);
  • defines g:terminal_ansi_colors;
  • generated by 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.

<p align="center">

</p>

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, edit the
files in the templates folder, then rebuild the color schemes.

添加新评论