google_prettify.vim


Ⅰ. 插件描述

a color scheme mimicking google-code-prettify

Ⅱ. 基本信息

创建日期:  2011-09-19
使用用户:  1
Github星:  3
插件作者:  zeb ulon

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

A color scheme (gvim only) similar to the one used by the google-code-prettify at http://code.google.com/p/google-code-prettify/ and that google use at most of their sites, notably google code.

I had to study documentation for Google App Engine, and switching from their syntax color scheme to the one I was using was a pain, so I made this quick and dirty color scheme (I am a newbie, this is my first color scheme)

So it closely copies the examples found on their README page, except for the HTML/XML which is copied from the source view of chromium (which is also the color code used in firefox !)

添加新评论