Ⅰ. 插件描述
A simple compiler for using Python unittest with VIMⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/pyunit-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/pyunit-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/pyunit-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/pyunit.vim
Ⅳ. 文档说明
**
pyunit.vim
:VERSION: 0.1.0
A simple compiler for Python unittest on VIM. Useful to use with vim-makegreen_
Original script is found on http://ftp.twaren.net/vim/runtime/compiler/pyunit.vim
See http://blog.staz.be/?post/2010/09/04/Python-unit-test-and-vim for find how to use it with vim-makegreen_
.. _vim-makegreen: https://github.com/reinh/vim-makegreen
how to install
use vundle_ or pathogen_ is recommended or simply extract to your vim directory
.. _vundle: https://github.com/gmarik/vundle
.. _pathogen: http://www.vim.org/scripts/script.php?script_id=2332