more-colorful.vim


Ⅰ. 插件描述

Make vim more colorful

Ⅱ. 基本信息

创建日期:  2012-09-05
使用用户:  1
Github星:  6
插件作者:  yeer

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

more-colorful.vim

Goal:

Make vim more colorful

sample

Features:

Comparing with the default vim syntax file provided from Go Authors.

  1. Operators highlight
  2. Functions highlight
  3. Methods highlight
  4. Structs highlight

Tips:

To make it more colorful, I even hack the vim color scheme file fomr tomorrow-theme. Just named it yesterday :P. You can use any color scheme you like, but I believe the yesterday theme will better to display all colors for go.

Q: How to use yesterday theme for go files only?

A: Just add the below line in your .vimrc

colo Tomorrow-Night-Bright  "default
autocmd! BufEnter,BufNewFile *.go colo yesterday
autocmd! BufLeave *.go colo Tomorrow-Night-Bright

TODO:

  1. More languages syntax support
  2. More color scheme

添加新评论