Ⅰ. 插件描述
Monokai colorscheme, originally ported to vim by Damien GombaultⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'lsdr/monokai'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'lsdr/monokai'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'lsdr/monokai'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/lsdr/monokai
Ⅳ. 文档说明
# monokai.vim
Monokai is a GUI-only colorscheme, originally ported to vim by Damien Gombault (first seen here).
The original repos still live, although it hasn't been updated since 2009. This repos serves only to allow monokai.vim to be installed using modern plugin managers for vim.
There's also a vim.org Script page for this colorscheme.
Vundle
Add to your .vimrc:
Plugin 'lsdr/monokai'
Don't forget to :PluginInstall after editing your config files.
Manual install
Fetch it over the net and store it locally in your .vim/colors folder:
$ cd ~/.vim/colors
$ curl -G https://raw.githubusercontent.com/lsdr/monokai/master/colors/monokai.vim -o monokai.vim

