vim-colorscheme-primary


Ⅰ. 插件描述

Primary, a Vim color scheme based on Google's colors

Ⅱ. 基本信息

创建日期:  2015-04-22
使用用户:  35
Github星:  244
插件作者:  Google

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'google/vim-colorscheme-primary'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'google/vim-colorscheme-primary'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'google/vim-colorscheme-primary'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

## Primary

A Vim color scheme based on Google's colors

Screenshots

Light mode
Dark mode

Installation

Install using your favorite plugin manager.

To install using Vundle, add the following to your vimrc:

Plugin 'google/vim-colorscheme-primary'

To set Primary as your default color scheme, add these lines to your .vimrc:

syntax enable
set t_Co=256
set background=light
colorscheme primary

For dark mode, use set background=dark instead:

syntax enable
set t_Co=256
set background=dark
colorscheme primary

See doc/colorscheme-primary.txt for detailed instructions and additional
options.

Happy Google-inspired coding!

*Disclaimer: This is not an official Google product (experimental or otherwise),
it is just code that happens to be owned by Google.*

添加新评论