chestnut.vim


Ⅰ. 插件描述

Minimal syntax highlighting for 16-color terminals.

Ⅱ. 基本信息

创建日期:  2017-09-08
使用用户:  1
Github星:  31
插件作者:  Akshay

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Minimal syntax highlighting for 16-color terminals.

Installation

Step 0: Set terminal colors

*.color0:       #625b50
*.color1:       #c5baaa
*.color2:       #7a7264
*.color3:       #877d6e
*.color4:       #968c7b
*.color5:       #a39886
*.color6:       #f1ebe4
*.color7:       #f7f3ee

*.color8:       #664b64
*.color9:       #f1ddf1
*.color10:      #51553f
*.color11:      #e0e9b8
*.color12:      #485561
*.color13:      #d6e5f2
*.color14:      #5b5245
*.color15:      #f6e0c2

Step 1: Download the colour scheme

Download the desired colourscheme files and place in directory

  • ~/.vim/colors/ (Linux/Mac) or
  • %userprofile%\vimfiles\colors\ (Windows).

Step 2: Activate the colour scheme

To activate the chestnut theme, the following line to your vimrc:

colorscheme chestnut

Screenshots

Javascript:

chestnutjs

HTML:

chestnuthtml

C++:

chestnutcpp

Vim help pages:

chestnuthelp

TODO

  • Add more languages
  • Support more plugins

添加新评论