Ⅰ. 插件描述
Script to save the current file and convert it to PDF using txt2pdfⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/txt2pdf-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/txt2pdf-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/txt2pdf-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/txt2pdf.vim
Ⅳ. 文档说明
Script to save the current file and convert it to PDF using txt2pdf. You need to install txt2pdf http://www.sanface.com/txt2pdf.html
You can also use txt2pdf PRO http://www.sanface.com/txt2pdfPRO.html and txt2pdf PRO + crypt http://www.sanface.com/txt2pdfPROcrypt.html to
make more complex PDFs like
http://www.sanface.com/pdf/Purchase_Order.pdf
http://www.sanface.com/pdf/invoice.pdf
http://www.sanface.com/pdf/hfmus.pdf
http://www.sanface.com/pdf/heraldbill.pdf