rtf-highlight


Ⅰ. 插件描述

Syntax Highlighting to RTF for vim

Ⅱ. 基本信息

创建日期:  2011-06-23
使用用户:  9
Github星:  21
插件作者:  Dharana Software Innovations Pvt Ltd

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This plugin is used to syntax highlight pieces of code to RTF and it automatically copies it to the OSX clipboard. This was basically done to scratch an itch while building my keynote presentations. I haven't tested this on linux but you can probably use xsel for the same.

This plugin is is basically a wraper around highlight. Hope you like it.

To highlight a file, simply use

:RTFHighlight <lang>

It also works on visual selections.

添加新评论